Thank you the code in PHP worked on line 39.
Here is a link to a screen shot of the header. https://imgur.com/a/95i8PxD
The top one is the header on team member page, the bottom picture is of the header on Home page and every page of the website.
No matter what we try to do to single team member page, we can’t get the header to look the same.
Please, help.
The Simple Custom Post order plugin that you installed on my site it blocking almost all of the links. I cannot even login to my wordpress to disable it or try to fix anything:
Fatal error: Can’t use method return value in write context in /home1/ab80373/public_html/wp-content/plugins/simple-custom-post-order/simple-custom-post-order.php on line 49
Hi,
SKT Welder Pro theme is not working with child theme out of box. I didn’t find this in documentation. Maybe this helps somebody.
There are 2 ways how to detect theme options name in this theme:
$themename = wp_get_theme();
and $option_name = get_option( 'stylesheet' );
This means that you can:
1. to name your child theme the same name as your child theme folder (Theme Name in your child style.css)
or you need to add this code to function.php in child theme:
if ( ! is_admin() ) {
function optionsframework_option_name() {
// Change this to use your theme slug
$themename = wp_get_theme();
$themename = preg_replace("/\W/", "_", strtolower($themename) );
return $themename;
}
}
Otherwise you don’t get correct options values and your site doesn’t work.
Edited: added test if it’s not admin area. Otherwise you get fatal error, because in admin area it works different way.
I created a new post under my blog. As contribution picture I choosed the “black friday pic”. But in the post I didn’t insert any picture and I get one displayed. What is wrong? And if the image appears, then at least the text should appear below or above it. But not to the side.
It does not delete its data, but it deletes all changes that have been made to the functions.php, header.php etc. So I guess I will have to work with a child theme, if I want to avoid this in the future?
I need a script whitelisted in modSecurity: /wp-admin/admin-ajax.php I receive a “406 (Not Acceptable)” error when this script attempts to publish menu items on my WordPress site.
Unfortunately, that didn’t change the color of the span icon on hover. I went ahead and removed the circle icon all together by removing <span> from the content.php page.