Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #995155
    Ryanbrown1987
    Participant

    Hello X Team,
    I am trying to have more customization in posts but it doesn’t seem like it has the same flexibility for design and layout as Pages do. I thought about doing posts as pages instead, but I can’t seem to get my theme (ethos) to allow comments on Pages. Can this be added?

    Also, is there a potential update that will allow the same amount of custom control in Posts as the Pages does?

    Thanks!

    http://www.lostboymemoirs.com

    #995210
    Thai
    Moderator

    Hi There,

    To allow the comment in pages, when you create a new page > scroll down to the Discussion section(If you can’t see this section, please click on the screen options button on the top right corner then check on the Discussion: http://i.imgur.com/g8v9Gtx.png) > check the Allow comments:

    http://i.imgur.com/1Mf0YH8.png

    Hope it helps 🙂

    #999999
    Ryanbrown1987
    Participant
    This reply has been marked as private.
    #1000336
    Friech
    Moderator

    Hi There,

    Please use a Default or Layout – Fullwidth page template.


    screenshot

    Then you can add this under Custom > CSS in the Customizer if you need the feature image not to be showed.

    .page .entry-featured {display: none;}

    Hope it helps, Cheers!

    #1000936
    Ryanbrown1987
    Participant

    Hi team,
    That could solve it but that still doesn’t allow for edge to edge photos. I want to have certain images no container edge to edge and have comments active. Why are comments restricted to “default” or “default full width” and not available in all templates?

    Is there a solution to this?

    Thanks

    #1000995
    Rad
    Moderator

    Hi there,

    Other templates are blank, blank means empty and no other design elements within the content area. It’s users responsibility to add or design their layout and content to a blank template.

    Another solution for adding comment area while using a blank template is to create a shortcode. A shortcode that you can add to your content.

    Please add this code to your child theme’s functions.php

    add_shortcode('embed_comment_section', 'embed_comment_section');
    
    function embed_comment_section ( $atts, $content ) {
    
    ob_start();
    
    $stack           = x_get_stack();
    $container_begin = ( $stack == 'icon' ) ? '<div class="x-container max width">' : '';
    $container_end   = ( $stack == 'icon' ) ? '</div>' : '';
    
    echo $container_begin;
    comments_template( '', true );
    echo $container_end;
    
    return ob_get_clean();
    
    }

    Then add this shortcode [embed_comment_section][/embed_comment_section] to your content (within text element, raw shortcode, and etc.)

    Thanks!

    #1001527
    Ryanbrown1987
    Participant

    Aha, that worked! Thank you! Is there a way to contain the comment section though? Sorry to be picky I only wanted the top images to be no container, but the comment section is fine to have the normal container on the sides.

    Cheers!

    #1001750
    Darshana
    Moderator

    Hi there,

    Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding.

  • <script> jQuery(function($){ $("#no-reply-995155 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>