Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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).
    blog 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.

    #559692

    Hey 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,
    Elliott

    #559717

    Hi 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

    #559953

    Hey!

    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,
    Ismael

    #562272

    Hi 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, 11 months ago by Cenabarato.
    #562978

    Hi!

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.