Home Forums Pro Themes Onefold Pro Links on slider pictures

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27108
    MarcoAix
    Participant

    Hello,

    I would like to simply remove the link (towards the post) on the slider pictures.

    I’m used to deal with code, so I guess it’s in “onefold-pro/inc/hook/slider.php” but I’m not sure what to do exactly.

    Thanks for helping me.
    Marco

    #27155
    wensolutions
    Keymaster

    Hello @MarcoAix,

    While the path you have given to the file for slider is correct, we do not suggest editing the theme files itself.

    The changes made directly to the theme files will be lost upon update. Hence, we would suggest child theme implementation for your desired result. To learn about child themes see the link here : https://codex.wordpress.org/Child_Themes.

    You can also automate the child theme creation with the child theme generator plugin.

    After creation and activation of the child theme, please paste in the following code block in your child theme’s functions.php file :

    This will remove the links from the slider image in the featured front page slider.

    Hope this Helps,

    Best Regards !!

    #27264
    MarcoAix
    Participant

    Hi,

    Oh yes, I forgot mentioning that I already created a child theme.

    Wow, I couldn’t have guessed so many code lines: thank you so much, it works perfectly.

    By the way, your theme is very complete and well done.

    Happy new year !

    Best regards,
    Marco

    #27329
    wensolutions
    Keymaster

    Glad we could help you,

    For any further queries and issues in the future please feel free to post in your queries here.

    Happy New Year !! 🙂

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