Some changes to be made on the blog page

This topic has 19 replies, 3 voices, and was last updated 1 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: Murad
    Murad
    Participant
    February 27, 2024 at 08:20

    Hi,

    1) When I share a blog post, I want it to fall directly to my blog page, but it falls into the subcategory on my blog page.

    2) I don’t want the author of the article to appear.

    3) When I add a featured image to the article, it looks too big in the web version. What can I do to make it normal size?

    4) Two straight lines underneath the writing. I want you to remove one of them. (I added a picture).

    5) I want you to remove the letter “G” in “Blog” from all links and the site. Change it to this: “Bloq”

    6) I want the link structure to be like this: “Site name/bloq/post name”.

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    18 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 27, 2024 at 09:38

    Hello, Murad,

    Thank you for contacting us and for using XStore.

    1/ We kindly request that you capture a video demonstrating your actions and the subsequent outcome. Once recorded, please upload the video to a file-sharing service, such as https://wetransfer.com/, and share the link with us.

    Additionally, we would like you to verify the functionality of the share feature on our demo versions.

    2/ If you are referring to the single post page, we suggest you explore the solutions provided in the following discussions:
    https://www.8theme.com/topic/how-to-hide-author-meta-in-single-post/
    https://www.8theme.com/topic/post-meta-on-single-post/

    3/ You have the option to activate a sidebar for your page, similar to the example found here: https://xstore.8theme.com/elementor/maecenas-parturient-duis-mus-fames/ Alternatively, you may choose to upload an image with different proportions (width to height ratio).
    To add custom CSS code, navigate to Theme Options > Theme Custom CSS > Global. For instance, you can use the following code:

    .single-post article.blog-post .wp-picture {
        max-width: 300px;
    }

    You can view an example here: https://prnt.sc/oFFEojrDb6me

    4/ To remove the border from the top of the share post section, you may use the following CSS:

    .single-post .share-post {
        border-top: none;
    }

    5, 6/ 5. & 6. Please proceed to your Dashboard > Settings > Permalinks to make the necessary adjustments. Additionally, you should update the translations for WordPress, the theme, and any plugins using the Loco Translate tool.

    We look forward to assisting you further and thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    February 28, 2024 at 08:40

    1) what code do I need to type to make the option to remove the author name? child-theme/functions.php what code do I need to write in the section?

    2) When I share a blog post, I want it to fall directly to my blog page, but it falls into the subcategory on my blog page.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 28, 2024 at 08:55

    Hello, Murad,

    1/ Copy etheme_byline function from xstore/framework/post-types/post-functions.php to your child theme functions.php and edit that according to your needs – remove this part:

    if ( $atts['single'] ) :
                        echo '<span class="meta-divider">/</span>';
    					echo '<span></span>';
                             esc_html_e( 'Posted by', 'xstore' );
                             the_author_posts_link();
    				endif;

    Please note that additional customization in files is outside the scope of our basic support.

    2/ We have noticed that you have not provided a video, hence we are uncertain about the specific method you are employing to share the post.

    Have you tested how it works on our demos? Is the behavior the same there?

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    February 28, 2024 at 16:43

    1) I did as you said. It disappeared completely. I guess I couldn’t do it.

    This is the third time I have sent this question but I have not received an answer.
    – When I share a blog post, I want it to fall directly to my blog page, but it falls into the subcategory (Uncategorized) on my blog page.

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 28, 2024 at 17:09

    Hello, Murad,

    We regret to inform you that we are currently unable to fully understand the nature of your inquiry. To assist you effectively, we have requested a video demonstration on two separate occasions, which, to our knowledge, has not been provided. Additionally, we have asked you to conduct tests on our demos, but we have yet to receive a response regarding this matter.

    In order to address your concerns regarding the sharing of a blog post, could you please specify the method you are using? There are various ways to share content, and we would greatly appreciate it if you could detail the exact steps you are taking, including where you are clicking, so that we may replicate your actions and provide a more accurate solution.

    We value your cooperation and look forward to your prompt response.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    February 28, 2024 at 18:33

    I sent you a video. İ’m not testing on the demo, I’m applying what you said on my own site.

    1) I don’t want the author of the article to appear.

    2) When I add a post, it falls into the category: “Site name/blog/Uncategorized”. I want all articles to fall directly to the blog page, I don’t want them to fall into the uncategorized category at the bottom of the blog page.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 29, 2024 at 08:26

    Hello, Murad,

    We appreciate your prompt response.

    We regret to inform you that we have not yet received the video you were to send. Kindly upload the video to a file-sharing service, such as https://wetransfer.com/, and share the link with us.

    1. We have previously outlined the necessary steps to accomplish this task. If you encounter any difficulties, please provide us with temporary FTP access, and we will be glad to assist you. For FTP access, we require the following information: FTP host, FTP username, FTP password, FTP port, and the type of FTP encryption. Should you need help in obtaining these credentials, we advise you to contact your hosting provider for support.

    2. We appreciate the details you have provided. Please note that the functionality in question is inherent to WordPress and not our theme. Consequently, we are unable to make changes on our end.
    Should you require further assistance, we recommend reaching out to WordPress support.
    However, you may find the following article useful: https://www.wpbeginner.com/beginners-guide/rename-the-uncategorized-category/#:~:text=Your%20WordPress%20posts%20must%20be,Categories%20and%20delete%20a%20category.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    February 29, 2024 at 16:16

    1) I don’t want the author of the article to appear.

    I don’t use FTP. I am sending you the link to the video and the login password for my site.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 29, 2024 at 16:47

    Hello, Murad,

    We appreciate your prompt response.

    1/ We would like to bring to your attention that utilizing the Appearance theme editor or a file manager plugin to implement fixes or code carries the risk of inducing fatal errors. Such errors could potentially result in you being locked out and the website becoming inaccessible. It is for this reason that we recommend editing files through FTP; the use of the File Manager or theme editor alone does not offer the level of security and control required for such operations.

    You copied all content of post-functions.php to the child theme > functions.php, but this is incorrect, unfortunately.
    Please replace the code you added, with the next:

    function etheme_byline($atts = array() ) {
    		
    		$atts = shortcode_atts( array(
    			'author' => 0,
    			'time' => 0,
    			'slide_view' => 0,
    			'ID' => null,
    			'views_counter' => true,
                'in_slider' => false,
                'single' => false
    		), $atts );
    		
    		$blog_layout 		   = etheme_get_option( 'blog_layout', 'default' );
    		if ( $atts['in_slider'] ) {
    			$atts['views_counter'] = false;
            }
    		
    		?>
    		<div class="meta-post">
    			<?php do_action('etheme_before_post_meta_content', $atts['single']); ?>
    			<?php if( ! in_array( $blog_layout , array( 'timeline', 'timeline2', 'grid2' ) ) || $atts['single'] ): ?>
    				<time class="entry-date published updated" datetime="<?php echo get_the_time('F j, Y', $atts['ID']); ?>">
    					<?php echo get_the_time(get_option('date_format'), $atts['ID']); ?></time>
    				
    				<?php if ( $atts['time'] ):
    					esc_html_e( 'at', 'xstore' );
    					echo get_the_time( get_option( 'time_format' ), $atts['ID']);
    				endif;
    				
    				if ( $atts['author'] ):
    					esc_html_e( 'by', 'xstore' );
    					the_author_posts_link();
    				endif;
    			
    			elseif( $atts['slide_view'] == 'timeline2' ) :
    				esc_html_e( 'Posted by', 'xstore' );
    				the_author_posts_link();
    			endif;
    			
    			if ( $atts['views_counter'] && etheme_get_option( 'views_counter', 1 ) ): ?>
    				<span class="meta-divider">/</span>
    				<?php etheme_get_views( $atts['ID'], true );
    			endif;
    			
    			if(comments_open($atts['ID']) && ! post_password_required($atts['ID']) ) :
                    if ( !$atts['in_slider']) { ?>
    				    <span class="meta-divider">/</span>
                    <?php }
                    if ($atts['ID'] ):
    					
    					$comments_number = get_comments_number( $atts['ID'] );
    					
    					if ($comments_number === 0) {
    						$comments_number = '<span>0</span>';
    					} elseif($comments_number === 1){
    						$comments_number = '<span>1</span>';
    					} else{
    						$comments_number = '<span>' . $comments_number . '</span>';
    					}
    					
    					printf(
    						'<a href="%s" class="post-comments-count">%s</a>',
    						get_the_permalink($atts['ID']),
    						$comments_number
    					
    					);
    				
    				else:
    					comments_popup_link('<span>0</span>','<span>1</span>','<span>%</span>','post-comments-count');
    				endif;
    			endif; ?>
    			<?php do_action('etheme_after_post_meta_content', $atts['single']); ?>
    		</div>
    		<?php
    	}

    2. We appreciate the video you have provided. Please note that the functionality in question is inherent to WordPress and not our theme. Consequently, we are unable to make changes on our end.
    Should you require further assistance, we recommend reaching out to WordPress support.
    However, you may find the following article useful: https://www.wpbeginner.com/beginners-guide/rename-the-uncategorized-category/#:~:text=Your%20WordPress%20posts%20must%20be,Categories%20and%20delete%20a%20category.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    February 29, 2024 at 18:08

    XStore Child: functions.php
    There are some codes in the file. After deleting all of these, should I add new codes or keep some of them?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 1, 2024 at 08:08

    Hello, Murad,

    If you want to delete all code, you can do this, in this case the next new code can be used:

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001 );
    function theme_enqueue_styles() {
    	etheme_child_styles();
    }
    
    function etheme_byline($atts = array() ) {
    		
    		$atts = shortcode_atts( array(
    			'author' => 0,
    			'time' => 0,
    			'slide_view' => 0,
    			'ID' => null,
    			'views_counter' => true,
                'in_slider' => false,
                'single' => false
    		), $atts );
    		
    		$blog_layout 		   = etheme_get_option( 'blog_layout', 'default' );
    		if ( $atts['in_slider'] ) {
    			$atts['views_counter'] = false;
            }
    		
    		?>
    		<div class="meta-post">
    			<?php do_action('etheme_before_post_meta_content', $atts['single']); ?>
    			<?php if( ! in_array( $blog_layout , array( 'timeline', 'timeline2', 'grid2' ) ) || $atts['single'] ): ?>
    				<time class="entry-date published updated" datetime="<?php echo get_the_time('F j, Y', $atts['ID']); ?>">
    					<?php echo get_the_time(get_option('date_format'), $atts['ID']); ?></time>
    				
    				<?php if ( $atts['time'] ):
    					esc_html_e( 'at', 'xstore' );
    					echo get_the_time( get_option( 'time_format' ), $atts['ID']);
    				endif;
    				
    				if ( $atts['author'] ):
    					esc_html_e( 'by', 'xstore' );
    					the_author_posts_link();
    				endif;
    			
    			elseif( $atts['slide_view'] == 'timeline2' ) :
    				esc_html_e( 'Posted by', 'xstore' );
    				the_author_posts_link();
    			endif;
    			
    			if ( $atts['views_counter'] && etheme_get_option( 'views_counter', 1 ) ): ?>
    				<span class="meta-divider">/</span>
    				<?php etheme_get_views( $atts['ID'], true );
    			endif;
    			
    			if(comments_open($atts['ID']) && ! post_password_required($atts['ID']) ) :
                    if ( !$atts['in_slider']) { ?>
    				    <span class="meta-divider">/</span>
                    <?php }
                    if ($atts['ID'] ):
    					
    					$comments_number = get_comments_number( $atts['ID'] );
    					
    					if ($comments_number === 0) {
    						$comments_number = '<span>0</span>';
    					} elseif($comments_number === 1){
    						$comments_number = '<span>1</span>';
    					} else{
    						$comments_number = '<span>' . $comments_number . '</span>';
    					}
    					
    					printf(
    						'<a href="%s" class="post-comments-count">%s</a>',
    						get_the_permalink($atts['ID']),
    						$comments_number
    					
    					);
    				
    				else:
    					comments_popup_link('<span>0</span>','<span>1</span>','<span>%</span>','post-comments-count');
    				endif;
    			endif; ?>
    			<?php do_action('etheme_after_post_meta_content', $atts['single']); ?>
    		</div>
    		<?php
    	}

    or provide us with FTP access, it will be the fastest way. Your hosting provider can create the FTP access we require.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    March 1, 2024 at 20:42

    I have sent you my ftp information. If possible, repair the whatsapp plugin as well.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 2, 2024 at 07:38

    Hello, Murad,

    We are currently experiencing difficulties connecting to the FTP server – https://prnt.sc/KRa4UYV-tIRa
    To facilitate a resolution, we kindly ask if you could attempt to connect to the FTP server using FileZilla on your end.
    Once you have successfully established a connection, we would greatly appreciate it if you could verify and provide us with the correct credentials to ensure seamless access on our part.

    Thank you for your cooperation and assistance in this matter.

    Best Regards,
    8Theme’s Team

    Avatar: Murad
    Murad
    Participant
    March 2, 2024 at 15:30

    I’ve made arrangements, you can check again.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 2, 2024 at 16:08

    Hello, Murad,

    1/ Please check the single post page now.

    2 Note that we do not give a guarantee for full theme compatibility with all existing 3rd party plugins. Sometimes, not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.

    Best Regards,
    8Theme’s Team

    Please contact administrator
    for this information.
    Avatar: Murad
    Murad
    Participant
    March 2, 2024 at 16:23

    Thanks. Remove the comment mark as well. Let the date and counter appear.

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 2, 2024 at 16:49

    Hello, Murad,

    The task has been completed. Kindly review the outcome at your earliest convenience.

    Best Regards,
    8Theme’s Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 2, 2024 at 17:49

    Dear Murad,

    Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?

    Click here to share your insights: https://themeforest.net/downloads

    Your support fuels our journey, and we appreciate it more than words can express.

    Best Regards,
    The 8Theme Team

  • Viewing 19 results - 1 through 19 (of 19 total)

The issue related to '‘Some changes to be made on the blog page’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.