Hello,
Is it possible to overide the hook where the menu is attached to :
add_action(‘wp_footer’, array( $this, ‘eds_responsive_menu’ ), 90);
Would love to know if it is possible to transplant it without having to edit the plugin file (which I cant do if its to be updated).
Thanks
George
Thank you very much for the prompt reply.
In view of this I purchased a licence for the menu and would really appreciate if you could help me out on how to move it to a diferent hook 🙂
Thanks again.
George
HI
Go file ( inc/eds_menu_frontend.php ) and see link .. please off the link ….
Then you can create new hook as you want ..
Thanks
HI
Go file ( inc/eds_menu_frontend.php ) and see link .. please off the link ….
Then you can create new hook as you want ..
Thanks
Hi again,
I am very sorry to come back again, but I am not sure I understand what you mean by link ? I cant see what you are refering to, could please point me to the specific line in the file ?
I can see the actions on top where it is hooked to wp-footer and I could change that – but the idea is not to touch the actual files, I was wondering if there was a way to transplant it maybe through my theme’s functions ?
Thanks again and please excude my ignorance I am fairly new to wordpress.
George
HI
No worries, file name eds_menu_frontend.php and see ( add_action(‘wp_footer’, array( $this, ‘eds_responsive_menu’ ), 90); )
Just turn off and create new as you want ….
for more details please add me skype ( e2getway )
thanks
Hello again
Thanks, I had figured out that actually, but was wondering if there was a way to do it without touching the plugin files, as it would be overwritten if there was an update. The main reason I wanted to do this was to be able to use absolute positioning relevant to my header – so I was going to create a new hook to add the menu to the header, instead of the wp_footer. Could always do in the file I guess and make sure to redo the change in case of an update.
Reading up on WordPress a bit I saw there is the possibility to remove an action (remove_action) and add it anew from my themes function file but I cant figure out the parameters to get to work (if its even doable – not sure).
Thank you again
George
Sorry right now have no options with touching the file … it’s was simply plugins that’s why we are not using dynamic action or filter hook ,,,
i installed theme into kabaliraa.com when i try to access my wordpress admin page http://www.kabaliraa.com/wp-admin Fatal error: Can’t use function return value in write context in /home/rakesh123kabali/public_html/wp-content/themes/edsbootstrap/inc/wp-admin/edsbootstrap-admin-page.php on line 136
Hi, I think you may need to open a new question as you posted as an answer to my question 🙂
sure ! let’s open a new !
sure ! let’s open a new !
ok, thanks I removed that theme, paid money to developer
Yes it’s possible to do 🙂
Yes it’s possible to do 🙂