Okay
  Public Ticket #3388587
Single post header link
Closed

Comments

  •  15
    DrKarma started the conversation

    Hi There,

    The default link in the header on my single post page is .../category/webinars.
    Can I change this somewhere? Maybe in the functions or template file in my child theme? I need it to be just .../webinars

    Thanks!

  •  8,943
    Tahir replied

    Hey Again,

    Please view: https://kinsta.com/blog/wordpress-permalinks/#:~:text=%E2%80%9CWordPress%20Permalinks%20are%20the%20permanent,will%20have%20its%20own%20permalink. 

    Thanks.


    ThemeNectar Support Team 

  •  15
    DrKarma replied

    This not really what I mean Tahir.

    Somehow the default link in salient single post headers (when clicking the category name in the header) is .../category/webinars. And I don't what it to include category, I need it to be just .../webinars.

    I can't change this with the permalink settings. I think it's a function in the single post template or something.

    Thanks in advance!

    Attached files:  Schermafbeelding 2023-06-08 om 11.32.57.png

  •  8,943


    ThemeNectar Support Team 

  •  15
    DrKarma replied

    Hi Tahir,

    Is it also possible to remove the link? So it's not a button anymore, just a mentioning of the category.

    Thanks again.

  •  8,943
    Tahir replied

    Yes, you can add a "#" in the url field so it does not link anywhere.

    Best 


    ThemeNectar Support Team 

  •  15
    DrKarma replied

    Uh but where do I set that?

    this link is created by the theme, I can't find where to set the URL. Not in the Post configuration and not in the Post header settings.

  •  8,943
    Tahir replied


    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  •  15
  •  8,943
    Tahir replied

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    body[data-button-style*="slightly_rounded"] #page-header-bg[data-post-hs="default_minimal"] .inner-wrap > a {
        pointer-events: none !important;
    }

    Thanks


    ThemeNectar Support Team 

  •  15
    DrKarma replied

    Sorry, I forgot to answer.

    Thanks for your help! It's fixed now...