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.
Not Found
The requested document was not found on this server.
Web Server at allineone-brussels.be
2/problem
Is it possible to chose if we put a price or not to an article. ? for exemple if i add a bakery in a location for a category i dont need a price on that bakery just contact information.
The basic blog setup response was not the answer I needed. The answer I was looking for was ticking the “excerpt” option within Post > Screen Options. Unfortunately, it appears the excerpt code is turned off within wp includes > post-template.php. I tried the Advanced Excerpt plugin, but it did not work. How do I turn on <?php the_excerpt(); ?> to get my excerpts to show on my blog “archive” page?