Okay
  Public Ticket #2767731
Show each post tag in blog page
Closed

Comments

  •  28
    Co-Brains started the conversation

    Hi! I’d like to give more relevance to a single tag on each post’s preview in the blog page.

    I’d like to show them in blog page (instead or next to categories) and in each post header.

    Is there a way to do that? I was thinking that I can achieve that editing the post preview function, by copying it in child theme’s function.php. Do you think it could work? Will it override the parent theme function? In this case can you provide me with the post preview function?

    Thank you

  •  8,847
    Tahir replied

    Hey Again,

    Are you looking to edit the Post Template Page or one of the Page Builder Elements?. Please see: http://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ . 

    Thanks


    ThemeNectar Support Team 

  •   Co-Brains replied privately
  •  1,878
    Judith replied

    Hi There,

    I am afraid, you are not able to display tags on posts, you are only able to display categories.

    Thanks.

  •  28
    Co-Brains replied

    Hi! I'm trying to do that editing the Post Template Page or one of the Page Builder Elements, as you suggested me.
    I was just wondering where I can find the blog and single post template to try to add by php.

    This is pretty crucial for my project, as I need a double classifications for post and they must be explicit in the blog page.

    thank you

  •  8,847
    Tahir replied

    Hey Again,

    You will have to override these files: 

    5390941377.pngClick To Open Larger Image.

    Thanks 


    ThemeNectar Support Team 

  •  28
    Co-Brains replied

    Thank you very much Tahir!

    That's what I was looking for! I resolved that issue.

    Now I'm trying to find the php file of the single post header WITH img background with variable height & meta overlaid (see attachment image) to add tags in the header.

    I find a php file that seem that one (salient > includes > partials > single-post > post-header-no-img-fulscreen.php) from line 38, but I tried to add some random classes at line 43 (as you can see in the attachment image) and nothing changes from frontend visualization.

    Where can I find that code?

    Thank you again

  •  8,847
    Tahir replied

    Hey Again, Hope you had a Positive Weekend, 

    The Page Header function can be found in here:  

    3527070787.pngClick To Open Larger Image.

    Thanks 


    ThemeNectar Support Team 

  •  28
    Co-Brains replied

    Hey Again Tahir! Thank you for your response.

    I'm trying to override the parent theme with a php file place in path: salient-child > nectar > helpers > page-header.php.

    It doesn't work. How can I override the parent theme? I'm interested to add some code after line 502, after category span, so maybe it could be a way to override only some lines (?).

    Thank you again

    Have a nice day :)

  •  8,847
    Tahir replied

    Unfortunately the whole nectar page header function would have to be copied in the child theme "functions.php" to override it.

    Thanks


    ThemeNectar Support Team 

  •  28
    Co-Brains replied

    Okay, thank you.

    I try ASAP