Because you’re using a commercial theme, please use their official support channel. We feel they are best equipped to support their products.
https://themeforest.net/item/salmon-restaurant-wordpress-theme/17032370/support
Commercial products are not supported in these forums.
Hi Steven,
Thank you for the reply. It is not the salmon restaurant theme, it is salmon child. I have tried contacting the owner of that but it seems he doesn’t exist at all.
Hence the question here..
Thanks
If it is not in appearance > widgets, then I would suggest that you look in your theme customisation.
Most likely in “salmon-child” you will find a file “footer.php”
Or someone may have used a hook or filter, most likely in your child theme.
Otherwise use your browser inspector to find the CSS and HTML and text associated with your footer paragraphs, and search your files (themes and plugins), and database for them.
-
This reply was modified 5 years, 1 month ago by
RossMitchell.
Hi ross,
I’ve looked in salmon-child and there is only functions and style files. The footer.php is under salmon.
All it says is:
salmon_footer();
wp_footer(); ?>
Where would i find these? I’ve been looking.
I’ve looked in the inspector and can see the text, looks like it is in a div container, not sure where this is. The bit under the inspector says this though:
`<body data-rsssl=”1″ class=”home page-template page-template-vc-template page-template-vc-template-php page page-id-242 logged-in admin-bar wp-custom-logo vcwb wpb-js-composer js-comp-ver-4.12.1 vc_responsive customize-support”>
Does this help?
Thank you
Please contact the developer of your theme.
Hi Steven,
I cannot do that, as explained I cannot do that. They are uncontactable and no way of contacting them at all.
Ross is helping me through this and being great.
thank you
Right,
Found the whole table is in
salmon_footer();
But cannot find out where the code is for that?
Thanks
I work with Linux (Ubuntu) and have a copy of my website files locally. So to answer questions like where is salmon_footer defined and called I do a recursive text search, the command is, when run in my top level directory:
grep -r salmon_footer
If you don’t have grep then you need to do whatever your system has instead.
As a matter of file management and practical development, a theme function has to be in the theme files, (or child theme files), and just possibly in a plugin, there is nowhere else a developer can put it and expect it to work or to survive.
It is also just possible that you have a custom PHP thing in a plugin.
As an elaborate workaround it is possible to do this text search on your hosting:
– One way is to use an SSH login, not always available, I have NEVER needed one.
– You can use your hosting’s CRON facility to run commands for you. Create a cron job to run once a year and scheduled a few minutes into the future, make the command as specified above. Wait for it to run and then disable it. Your command results will arrive in an email on your hosting management address.
-
This reply was modified 5 years, 1 month ago by
RossMitchell.