edit theme-functions.php
Hi, I need to make a change in the function mfn_post_thumbnail in the file functions/theme-functions.php. I want to change the icons that appears when you hover over an item in the portfolio. I only want the search-icon and the forward. I want to delete the link-icon.
I made the changed in the PARENT theme, I tested and it works. But now I would like to make this change in CHILD instead.
How can I make it? I tried to override the function mfn_post_thumbnail in the file CHILD/functions.php but I get an error. I tried to make the same subdirectory (functions/theme-functions.php) in the child but ...nothing.
Please let me know how can I make this change.
Thank you very much!
Comments
why you can't remove this icon with simply css? This is much better and easier solution.
However if you really want to play with child theme, then please have a look at http://forum.muffingroup.com/betheme/discussion/3128/theme-shortcodes-php-doesn-t-work-in-betheme-child where we explained everything.
if( ! function_exists( 'sc_alert' ) ) in the theme-shortcodes.php.
The one that I need to change: function mfn_post_thumbnail doesn't have this condition in theme-functions.php.
I don't think that the change I need can be made by css. I don't want that the post can be open in a page like a blog. I just want that you can zoom the image or open the link to the website.
Please, let me try to explain better in a new post what I want to do because I know it is confusing.
Thank you very much.Continuing...
in the portfolio, I want to enter 2 kind of post: only image and image with a website.
Case 1: you hover over an item if it is a IMAGE it only shows the search-icon, but I don't want the empty space where it was the link-icon, I just want the search-icon.
Case 2: you hover over an item if it is a IMAGE and WEBsite it shows the search-icon, and the forward icon, but it doesn't show an empty space where the link-icon should be.
theme-functions.php , line 840
theme-functions.php , line 891
Thanks, I hope you can help me! You guys rock
P.S. Please notice that we do not offer theme customizations because for that responsible is website developer. And after any modifications only developer is responsible for any bugs or problems.