You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
Hi @olefredrik, I found a little problem when developing my child theme of FoundationPress. When I try to customize the pagination with the same function name of parent theme, I recieve the error of "redeclare function"... Searching for a solucion on the web I found this link ( http://wordpress.stackexchange.com/questions/95799/is-it-possible-to-disable-a-function-of-a-parent-theme ). I make a test on local theme, make change on parent theme and works. If in parent theme every the function it was declared with if(!function_exists(" ")){} this will make the child theme able to replace the parent function with same name.
Example:
Well I guess this is not a plugin on the WP repository and the theme does not have any API that checks with github for the latest version, so no I would not expect the theme to announce a change in WP
Hi @olefredrik, I found a little problem when developing my child theme of FoundationPress. When I try to customize the pagination with the same function name of parent theme, I recieve the error of "redeclare function"... Searching for a solucion on the web I found this link ( http://wordpress.stackexchange.com/questions/95799/is-it-possible-to-disable-a-function-of-a-parent-theme ). I make a test on local theme, make change on parent theme and works. If in parent theme every the function it was declared with
if(!function_exists(" ")){}
this will make the child theme able to replace the parent function with same name.Example:
Please take a look on that....
Thanks...
The text was updated successfully, but these errors were encountered: