Tagged: x
-
AuthorPosts
-
May 17, 2016 at 4:46 am #995155
Ryanbrown1987ParticipantHello 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!
May 17, 2016 at 5:47 am #995210
ThaiModeratorHi 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 🙂
May 19, 2016 at 1:40 pm #999999
Ryanbrown1987ParticipantThis reply has been marked as private.May 19, 2016 at 5:05 pm #1000336
FriechModeratorMay 20, 2016 at 12:10 am #1000936
Ryanbrown1987ParticipantHi 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
May 20, 2016 at 12:58 am #1000995
RadModeratorHi 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!
May 20, 2016 at 8:55 am #1001527
Ryanbrown1987ParticipantAha, 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!
May 20, 2016 at 11:30 am #1001750
DarshanaModeratorHi 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-995155 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

