Comments on: Using Themes https://wordpress.org/support/article/using-themes/ Fri, 18 Nov 2022 08:51:20 +0000 hourly 1 https://wordpress.org/?v=6.2-alpha-54954 By: azar2306 https://wordpress.org/support/article/using-themes/#comment-3641 Fri, 18 Nov 2022 08:51:20 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-3641 My problem is after activation a theme.they didn’t change we show always default theme necessary

]]>
By: sainipreetpal https://wordpress.org/support/article/using-themes/#comment-3437 Fri, 07 Oct 2022 17:43:50 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-3437 good article for beginners.

]]>
By: kavyataraka https://wordpress.org/support/article/using-themes/#comment-3351 Mon, 12 Sep 2022 06:11:00 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-3351 When I am import the demo of a template it is showing me the error of 500.

]]>
By: trucha3030 https://wordpress.org/support/article/using-themes/#comment-3186 Tue, 02 Aug 2022 23:32:16 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-3186 Hello, I am making a website within an application but when entering the app with wordpress themes it does not let me put text and with third-party themes it works fine. but the theme i like is wordpress. I want to know if wordpress themes have any restrictions that can be removed from the theme code… thanks regards

]]>
By: amanandhishoe https://wordpress.org/support/article/using-themes/#comment-2339 Wed, 02 Mar 2022 18:53:56 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-2339 I am actually wanting to give feedback on the documentation for https://developer.wordpress.org/themes/advanced-topics/child-themes/

In that documentation it gives examples of how to enqueue styles when parent themes use:

get_template_directory() and get_template_directory_uri()

or use:

get_stylesheet_directory() and get_stylesheet_directory_uri()

What is not given are examples to use when the parent theme uses get_stylesheet_uri().

Theme Twentyseventeen enqueues its style sheet by calling get_stylesheet_uri().

In this case, all the child theme needs to do is enqueue twentyseventeen’s style sheet like this:

function mychildtheme_enqueue_styles() {
wp_enqueue_style(‘parent_style’, get_template_directory_uri() . ‘/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘mychildtheme_enqueue_styles’);

The reason for this is that twentyseventeen’s functions.php will enqueue the child theme’s stylesheet. This is because when twentyseventeen’s functions.php calls get_stylesheet_uri(), the style sheet that gets enqueued is the active theme’s style.css, and since the child theme is the active theme, the childtheme/style.css will be enqueued, not twentyseventeen/style.css.

The result is that the child theme’s functions.php enqueues twentyseventeen’s style.css and after that twentyseventeen’s functions.php enqueues the child theme’s style.css. And since the child theme’s style.css will enqueue after twentyseventeen’s style.css, the child theme’s style.css will override twentyseventeen’s style.css which is what you want to happen.

It took me a quite a bit of coding and testing on a staging site to figure this out and get my child theme to work the way I wanted it to. Having an example of this with an explanation as to how to handle parent themes that enqueue style.css with get_stylesheet_uri() would have saved me many hours of sleuthing.

]]>
By: raanim https://wordpress.org/support/article/using-themes/#comment-2301 Thu, 24 Feb 2022 06:59:49 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-2301 There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.

HOw do I resolve this error???????????? help

]]>
By: veronica2022 https://wordpress.org/support/article/using-themes/#comment-2190 Tue, 08 Feb 2022 11:08:02 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-2190 Hola, he editado un tema de apariencia y se me ha desconfigurado el inicio del sitio web por completo. Cómo puedo volver a la versión anterior? por favor les pido ayuda

]]>
By: lmjpet https://wordpress.org/support/article/using-themes/#comment-2162 Fri, 04 Feb 2022 04:13:57 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-2162 Hi, I made an e-commerce website lmjpet.com with WordPress, and bought Flatsome as my theme, and on my website at the bottom it has a footer with payment method, social icons, and copy right, those icons will redirect to WordPress. The email icon will redirect to send email to wordpress@example.com. Which i don’t know if it really exist, I went into the theme customizer, I was able to disable Footer 1 and Footer 2, but there’s no option to disable or make any changes to this footer called “Absolute Footer”. I cannot replace with my own social media links, cannot remove it, and it’s just there. I did a lot of research, others website absolute footer don’t have social icons only my site has… I have screenshots if there’s a way I can provide it to you… I had to make the Absolute footer background and words in black, and made a new footer with UX builder, but that gives the bottom of the website a big black gap after my own copy right footer. Even though it’s just black, but if you click on the right spots, it will still redirect to WordPress social media sites. I first contacted WordPress.com and was advised to contact WordPress.org, It’s very frustrating, please help, Thank you!

]]>
By: abdulrahman11 https://wordpress.org/support/article/using-themes/#comment-1812 Fri, 24 Dec 2021 14:06:24 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-1812 hello, ive an issuse

]]>
By: sslv https://wordpress.org/support/article/using-themes/#comment-1662 Thu, 09 Dec 2021 16:11:35 +0000 https://wordpress.org/support/?post_type=helphub_article&p=10820858#comment-1662 Should provide explanation of using multiple themes. Benefits and drawbacks.

]]>