Navigation

Tagged: 

  • Author
    Posts
  • #1322225

    worxpronext
    Participant

    Hello Support Team.

    I want a Blog page with Sidebar (http://mnsnext.com/next-blog/). The sidebar is to be appeared in the Blog’s home page only (not anywhere else in the website). The blog page includes dynamic posts from the categories named “Featured”, “Events” and “Entrepreneur Resources”.

    Currently I have been able to display the post from these categories but the there is limitations i.e. a single post should be marked with two categories minimum and should be within in a date from a month. I don’t know why it is so. I have done this by exploring the X theme forum. I want latest three posts from each category to be displayed.

    Can you please help me to do so.

    Thank You.

    #1322237

    Christopher
    Moderator

    Hi there,

    Seems like you’re using third party plugin to display posts on home page. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.

    #1323372

    worxpronext
    Participant

    Hello,

    Thanks for your kind response.

    I have not used any third party plugin but yes there are custom script. Now, I have removed all the custom script.

    My requirement is that I want a Blog page with Sidebar (http://mnsnext.com/next-blog/). The sidebar is to be appeared in the Blog’s page only (not anywhere else in the website). This page is post page. I have posts in another pages and has filtered with categories to display in that pages. The blog page includes dynamic posts only from the categories named “Featured”, “Events” and “Entrepreneur Resources”.

    I want each categories to be displayed in a row as displayed now. As there is three category so there should be three row. Currently it is displaying only one category post. I want latest three posts from each category to be displayed.

    Some thing like attached but along with right sidebar also.

    Can you please help me to do so.

    Thank You.

    • This reply was modified 2 months, 1 week ago by  worxpronext.
    Attachments:
    You must be logged in to view attached files.
    #1323547

    Christopher
    Moderator

    Hi there,

    Please use recent post element, see : demo.theme.co/integrity-1/shortcodes/recent-posts
    To add sidebar, check this link : https://community.theme.co/kb/unlimited-sidebars

    Hope it helps.

    #1323635

    worxpronext
    Participant

    Hello,

    Thanks for your kind support.

    The problem with recent post is that I am unable to show post meta that I want such as Post’s Author with link, Post’s Date with archive link and Category along with posted categories link. As done in http://mnsnext.com/next-blog/. I have created a test page for blog (http://mnsnext.com/blog-test/). But this is not give the feel of Blog page. There is missing information such as Post’s Author with link, Post’s Date with archive link and Category along with posted categories link.

    I have created sidebar as suggested via the above link, Added widget to this page but sidebar is not displayed in this page.

    So could you please look in to this matter.

    Thank You.

    #1324700

    Friech
    Moderator
    This reply has been marked as private.
    #1325027

    worxpronext
    Participant
    This reply has been marked as private.
    #1325256

    Christian
    Moderator

    Set your site layout to Content with Sidebar then in your Blog layout, use the global setting.

    Thanks.

    #1325720

    worxpronext
    Participant

    Hello,

    This is affecting my whole website. I want sidebar to appear in the Blog page only.

    Thank You.

    #1325758

    Joao
    Moderator

    Hi There,

    After following Christian Advice you need to go page by page and click edit page on WordPress Top Admin Bar

    Under the blue update button you will find:

    Page Attributes > Page Templates > Select: Blank No Container Header Footer.

    Hope it helps

    Joao

    #1326664

    worxpronext
    Participant

    Hello,

    Thanks. My all the required pages are done as suggested. But what about posts? My other page’s posts get affected when I change the global layout option where as I want sidebar in the Blog page only. I didn’t find any such attributes for the posts.

    Thank You.

    #1326822

    Rue Nel
    Moderator

    Hi There,

    Thanks for updating in!

    To have a sidebar in the blog index and make sure that it is fullwidth in single post pages, please check out this thread: https://community.theme.co/forums/topic/change-template-layout-to-add-right-sidebar-for-blog-posts-page-integrity-stack/#post-1301412

    We would loved to know if this has work for you. Thank you.

    #1326885

    worxpronext
    Participant
    This reply has been marked as private.
    #1326893

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in!

    1] By default the featured images were being displayed using the custom image dimension provided by X. If you want to display the full image instead in single blog post so that it will be full image and fullwidth, please insert this following code in your child theme’s functions.php file.

    // Custom Featured Images
    // Display the full images in single blog posts
    // =============================================================================
    if ( ! function_exists( 'x_featured_image' ) ) :
      function x_featured_image( $cropped = '' ) {
    
        $stack     = x_get_stack();
        $fullwidth = ( in_array( 'x-full-width-active', get_body_class() ) ) ? true : false;
    
        if ( has_post_thumbnail() ) {
    
          if ( $cropped == 'cropped' ) {
            if ( $fullwidth ) {
              $thumb = get_the_post_thumbnail( NULL, 'entry-cropped-fullwidth', NULL );
            } else {
              $thumb = get_the_post_thumbnail( NULL, 'entry-cropped', NULL );
            }
          } else {
            if ( $fullwidth ) {
              $thumb = get_the_post_thumbnail( NULL, 'entry-fullwidth', NULL );
            } else {
              $thumb = get_the_post_thumbnail( NULL, 'entry', NULL );
            }
          }
    
          if ( is_single() ) {
            $thumb = get_the_post_thumbnail( NULL, 'full', NULL );
          }
    
          switch ( is_singular() ) {
            case true:
              printf( '<div class="entry-thumb">%s</div>', $thumb );
              break;
            case false:
              printf( '<a href="%1$s" class="entry-thumb" title="%2$s">%3$s</a>',
                esc_url( get_permalink() ),
                esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ),
                $thumb
              );
              break;
          }
    
        }
    
      }
    endif;

    #2] Did you have some custom code or have you modified the blog index template file? Would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password
    – FTP Hostname
    – FTP Username
    – FTP Password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    • This reply was modified 2 months, 1 week ago by  Rue Nel.
    #1326978

    worxpronext
    Participant
    This reply has been marked as private.

Join the conversation

Register or login to your account to reply.

Purchase for access

Buy a copy of X for access to our member center.

Buy