Tagged: html tag, related post
-
AuthorPosts
-
January 4, 2016 at 8:01 pm #559442
I have installed the theme Enfold and have created a template for the post.
With the template they are not showing relate inputs (they are enabled in the theme options).
Is there any way to add entries relating to each input in Avia Template Editor?
I have the same problem with comments, but these were not displayed itself can be added from the Editor Avia.Also in the section “Structure of the blog” I’ve unchecked the option to display HTML TAGs but in view of the TAGS grid is, how I can remove?
I attach web links.
Thank you for your help.
Regards.January 5, 2016 at 2:57 am #559692Hey Cenabarato!
If your using the advanced layout editor then you will need to add the elements to your post manually.
For related posts you can use the “Blog Posts” element and set it to display posts from a certain tag.
Regards,
ElliottJanuary 5, 2016 at 3:55 am #559717Hi Elliott,
Thansk for your answer.But the Blog Post Element haven’t the same style to related post Enfold default.
Also you can help me to hide the HTML TAG ?
Thanks
January 5, 2016 at 3:09 pm #559953Hey!
Please follow the solution provided on the following link. It enables the related items on posts built with the advance layout builder: https://kriesi.at/support/topic/related-portfolio-items-not-working/#post-505217
EDIT: Change the value of the is_singular function from “portfolio” to “post”.
Regards,
IsmaelJanuary 9, 2016 at 4:40 am #562272Hi Ismael,
It’s works!
Two question more,
It’s possible to limit the number of related post? How?And I also added the comments after the related post:
comments_template( ‘/includes/comments.php’);But it’s haven’t the comments count and it’s have a distinct style, How can I added a comment counter in the post and same style to Avia editor?
Thank you
- This reply was modified 8 years, 10 months ago by Cenabarato.
January 11, 2016 at 8:41 am #562978Hi!
It’s possible to limit the number of related post? How?
You must edit the includes > related-posts.php file, look for this code around line 55:
$postcount = ($columns * 1);
Default value is 8 x 1 = 8. Try to replace the value with a specific number. Example:
$postcount = 3;
I’m sorry but I’m little bit confused about the second inquiry. A screenshot will help.
EDIT: Add this in the Quick CSS field in order to fix the label of the comment input fields:
#commentform label { position: absolute; left: 10px; }
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.