Theme folder doesnt exist

I’m giving possible cases from the top of my head: Case 1: May be it’s related to realpath() function. realpath() acts differently in different OS. Also, it returns false if the web server user doesn’t have executable permission on the corresponding directory. There are some other problems too, so better try this: // change it … Read more

How To Show Different Footers For Different Post Types Pages?

You can use is_singular() instead. According to Codex, you can use this function the following way: is_singular($post_type); Then you can print your desired code into footer the following way: function my_footer_code() { if ( is_singular(‘my-post-type’) ){ //Your code here } } add_action(‘wp_footer’,’my_footer_code’);

Is it possible to open a page with a different theme?

Every solution to changing a theme on every click of Home button will result in many activation and deactivation requests. Some settings might get messed up for example widgets in the sidebars and menus etc on different theme activation. Also, it will require a proper setup in coding making current pages conditions in both themes. … Read more

Removing the references to the wp-content folder

It is definitely bad practice to try to move themes (or uploads or plugins) outside of the wp-content folder. WP’s structure ensures that WP can find all the necessary resources. Anytime you move things outside of its structure, odd quirks and broken bits tend to appear. So, stick with /wp-content/themes/your-theme-slug/ and make things more dynamic. … Read more

Why does wordpress add Theme not list a specific theme anymore?

Official repositories will omit themes and plugins that hadn’t been updated in two years from search and APIs. If you can find theme on repository site this is shown by following warning: This theme hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when … Read more

Access to font not allowed by CORS Policy

First check your blog Settings > General settings. You need to decide what you primary site url will be, www.tinit.com.co or tinit.com.co. Make sure your WordPress Address and Site Address are set accordingly to the correct values. The fact you encounter this problem means your web server setup allows requests to both www.tinit.com.co and tinit.com.co … Read more

How to access theme fonts using custom CSS style? [closed]

The theme will likely only load a set of specific fonts, or will have options in the back-end to add extra fonts. Your problem is that Cinzel is not being loaded, if you insert the code below (preferably in to the <head>) you should find you can then utilise the font. <link href=”https://fonts.googleapis.com/css?family=Cinzel:400,700″ rel=”stylesheet”>

How can I remove all traces of a theme?

The widget errors are the only ‘real’ errors. The header related errors are just caused by the error notices being output before the HTTP headers (including the one output in misc). Fixing that error would solve the others. The problem with the widgets is that they are written with out of date PHP (it doesn’t … Read more