Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #497482

    Hello! Thanks as always for a wonderful theme. I’m working on a project now that shows just how flexible the theme is.

    On my homepage I would like to use the blog layout module in order to show a single portfolio post from a given category.

    I’m using portfolio items since they have the ability to do an excerpt.

    The homepage has two main boxes so I’m using the category of home-right and home-left to display them where I want them. It’s all working quite elegantly.

    However I’d like to be able to display a tag below the title of the portfolio post such as “courses”. Right now I can’t seem to make it appear. Adjusting the blog settings in the theme settings seems to turn on items like category or blog author but toggling on and off tag doesn’t seem to do anything.

    I would love your thoughts. I’ll put a link to the site in the private comments.

    #497770

    Hi scottmlogan!

    It looks like your manually displaying the dates and other meta info in a textblock element. I think you should really be using regular posts for that. They will still display the excerpt so not really sure what you mean there.

    Are you trying to change the category meta information to display tags instead?

    Best regards,
    Elliott

    #497816

    Thanks for your quick reply.

    The box on the left was the original design, where everything is manual. Check the box on the right. I’m using the blog element to display that.

    I’d like to have the tags appear in the meta information.

    Thanks.

    #498445

    Hey!

    Try changing line 166 in the /enfold/includes/loop-index.php file from this.

    $excluded_taxonomies =  apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);
    

    To this.

    $excluded_taxonomies =  apply_filters('avf_exclude_taxonomies', array('post_format'), get_post_type($the_id), $the_id);
    

    Cheers!
    Elliott

    #498494

    Awesome! Thanks for the reply. I made that edit and the page is now producing an error:

    Parse error: syntax error, unexpected T_IF, expecting T_STRING or T_VARIABLE or ‘$’ in /home/artacademy/public_html/wp-content/themes/taa/includes/loop-index.php on line 169

    thanks again for your help.

    #499090

    Hi!

    Did you copy the code right from your email? Please copy the code directly from the forum. Make sure that all symbols (parentheses, semicolons etc) are intact.

    Best regards,
    Ismael

    #499634

    Thank you. I double checked and must have copied and pasted from the email. It is not throwing an error any longer however the tags are also not appearing.

    Thanks again for your help.

    #499941

    Hi!

    Can you send us a WordPress login so we can take a closer look?

    Cheers!
    Elliott

    #499945

    Sure! In private notes below.

    #500006

    Hey!

    I see a couple of columns and images, headings, and text which look like blog posts but they are actually created manually with the other content elements. You do not have a blog page setup either. Which page are you displaying the blog posts on? Send us a link to it please.

    EDIT: Ok I see it now. The post meta is being hidden with CSS though. Add this to your custom CSS to display it.

    .av-blog-meta-category-disabled .minor-meta.blog-categories, .av-blog-meta-category-disabled .text-sep-cat { display: block !important; }
    

    Regards,
    Elliott

    • This reply was modified 9 years, 3 months ago by Elliott.
    #500431

    Thank you! The post meta is now appearing, however tags still aren’t.

    I really appreciate all the help you guys are giving. Hopefully we can get the tags to appear as well.

    #500541

    Hey!

    You have the portfolio post tagged with “Courses” and that is what I am seeing on your homepage so it appears to be working fine. Try clearing your browser cache.

    Best regards,
    Elliott

    • This reply was modified 9 years, 3 months ago by Elliott.
    #500573

    Thank you! That worked. Last question and if not no worries.

    Is it possible to just display tags and not categories?

    No worries if not. So appreciate your help.

    #501093

    Hey!

    Switch the line to this.

    $excluded_taxonomies =  apply_filters('avf_exclude_taxonomies', array('category','post_format'), get_post_type($the_id), $the_id);
    

    Best regards,
    Elliott

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