I want to make a change to the header-callout and change some of its code to suit my site.
I have navigated to header.php and it makes reference to <?php shapely_top_callout(); ?>
The problem is, I cant find the file that it is referencing.
Can somebody please let me know where the file thats being referenced is located?
When i can locate that file i want to make some changes to the page-title-section.
Thanks very much.
Use this plugin to search for strings in the WordPress theme, in your case search for shapely_top_callout
or, use this plugin and you will know which files were used to render the page
Brilliant, thanks for the help.
Hi, I actually have another question related to this.
I now need to update the shapely_top_callout function.
The problem is i cant figure out what hook calls the function:
//new code here
Could you please help with what code needs replacing above?
What exactly you want to do? can you tell me what is your goal?
try to search this function in the theme files with the plugins above:
I used the plugins and managed to find the correct file with no problems.
The file in question is the extras.php file.
The shapely_top_callout function contains a line of code that I want to change.
I tried duplicating the extras.php file in the child theme and making the change, unfortunately this did not override the parent theme file.
All i need to do in the extras.php file is to change a <h3> tag to a <h1> tag.
can you advise on the best way to do this?
You need to override that function from child theme function.php file,
please check this tutorial and if you still can’t get it, let me know
I have tried all of the options that were in your suggested article.
Unfortunatley they all give me the following error:
Cannot redeclare shapely_top_callout() (previously declared
Do you have another suggestion?
Sorry for delay,
Let me try it, please use this plugin to create temporary access for us, its automatic login link and does not requires sharing your admin details. here is How To guide. at the and don’t forget about “Set as private reply” at the bottom of the message box
hello again noda,
i have just noticed that the code i was using was being removed from the functions.php file evrytime i changed it due to the error.
I have added it back in inside a comment so that it is not removed.
Can you please take a look please to see what is the problem.
Sorry about the delay, can you please enable link again?
Any update on this?
All I need to do is add some html to this function: shapely_top_callout()
Surely there is an easy way to do this?
Please take my apologies, this takes a little bit longer
With this user role I cant view dashboard fully, please grant administrator access
Administrator access has now been granted.