Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1445650

    First, I would like to congratulate you on the theme you have developed, and thank you for the support.
    I have a CPT called ‘Journal articles’ and it has several taxonomies ‘Author’, ‘Section’, ‘Descriptor’. (‘Author’ is the one who writes the article, not the one who publishes it.)
    I need to be able to display this metadata individually, in diferent parts of the page. But when I choose Metadata Element and select “categories”, I get all the metadata together.
    The site is still under development on a local server, so I can’t give you access to it.
    I hope I have explained myself well.
    Thanks for your help

    #1446076

    Hey jaitinrosa,
    If you need to display the info in different parts of the page you can use the “X” to show only the part you want, and the use several of these elements and place them where you wish on the page.
    Enfold Support 5906

    Best regards,
    Mike

    #1447234

    Mike, Thanks for your answer. I think i didn´t explain well. I want to show my custom taxonomies. But if i select categories i have all of them together. Is there any way to get only one custom tax
    .
    And i have another question.
    How to show a shortecode in the excerpt. I want to display a variable in the excerpt

    Thanks for your help

    #1447391

    Hi,
    No if your post has multiple categories that will show.
    as for shortecode in the excerpt it may depend on the element but often adding these to your child theme functions.php works

    add_filter('get_the_excerpt', 'do_shortcode');
    add_filter( 'the_excerpt', 'shortcode_unautop');
    add_filter( 'the_excerpt', 'do_shortcode');
    add_filter('widget_text', 'do_shortcode');
    add_filter( 'term_description', 'do_shortcode' );

    Best regards,
    Mike

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