- This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Onefold Pro › Links on slider pictures
Tagged: slider
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
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 !!
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
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 !! 🙂
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |