Comments?
Hey guys! I’m new to Layers and WordPress. Using Layers I created a “One Pager” which is something like a portfolio.. Now my question is, is there any way to add comments? I want the visitors of the site to be able to post comments. They don’t have to be registered users or anything.. How can I do this?
Thanks in advance for the help!
Hi there,
Currently Comments are not included in the Layers page template. I recommend installing something like Facebook comments which allows you to put a shortcode on the page using the Content widget. You otherwise need a child theme and a custom function in the functions.php that adds a call to the comments template using an action hook. Example:
add_action(‘after_layers_builder_widgets‘, ‘add_layers_page_comments’);
function add_layers_page_comments(){
comments_template();
}
Since the builder template is not designed for comments, I am not sure how this will look.
The following guide walks you through setting up a child theme (you only need to go as far as creating the files and activating it)
Positive site, where did u come up with the information on this posting? I’m pleased I discovered it though, ill be checking back soon to find out what additional posts you include. brunch in atlanta with bottomless mimosas
I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! mystical teachings of Jesus