This topic has 3 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #50776
     statusselect
    Participant

    How to place a like button in the header (where the breadcrumbs are) instead of below the blog? The reason I ask is because I have jReviews that loads its own style for its posts. I can like it from the front end masonry view, but I cannot like it inside of the post. So I wanted to place likes in the page header.

    Is there a shortcode or php code I can add somewhere? (Note, I just need the LIKE, not the social share)

    #50823
     sharmstr
    Moderator

    Injecting anything in that section is not easy. That whole section is one big function that can’t be overridden.

    I’m trying to find a suggestion that would be the easiest. That would probably be the putting it at the top of the article before the article is actually called. But you’d have to format it.

    The other option would be to put it in the article meta, but you’d have to copy over a pretty large function to your child theme. The size, in itself is not an issue. But its something that will probably be updated in the future so you’d have to keep an eye on code changes.

    Can you give me a link to one of your posts so I can see what jreview is doing?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #50873
     statusselect
    Participant

    https://statusselect.com/your-body/ here is an example of a jReviews page.

    #50915
     sharmstr
    Moderator

    You can try adding [item_likes] to the center container that has the social share icons.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?