WordPress.org

Ready to get started?Download WordPress

Forums

Magazine Basic
Unlink Sticky Post Title (4 posts)

  1. easylifespain
    Member
    Posted 1 year ago #

    I'm currently using a sticky post for the introduction to my website but would like the title unclickable. Can anyone point me in the right direction?

  2. c.bavota
    Member
    Theme Author

    Posted 1 year ago #

    There's no easy way to do this without writing some custom PHP using the is_sticky() conditional tag. You would have to edit the content-header.php file around line 22.

  3. easylifespain
    Member
    Posted 1 year ago #

    Thanks for the feedback. On my version of the theme, there is no content-header.php file so i assume its header.php that you are referring to.

    I'm not very good at php but i think its a matter of adding a condition to stop the sticky post from making the title a clickable link. Can you help me with the code needed?

  4. c.bavota
    Member
    Theme Author

    Posted 1 year ago #

    That means you're using an older version of the theme. But those two files are not similar at all. One is the header for the site and one is the header for the post. Where I do offer free support for the theme through this forum, I don't offer free guidance in regards to customizing things. I do provide this service for a fee, so if you are still interested, please contact me here:

    https://themes.bavotasan.com/contact/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic