Articles of themes

404 Error while accessing the font files

Added a custom font as follows Uploaded web-font files and given them the 777 permission Added rules to the css file @font-face { font-family: ‘museo_sans700’; src: url(‘’); src: url(‘’) format(’embedded-opentype’), url(‘’) format(‘woff’), url(‘’) format(‘truetype’), url(‘’) format(‘svg’); font-weight: normal; font-style: normal; } However, while using/accessing the font family, it gives a 404 error Attached snap […]

What does “Do not deregister the jquery script in the administration area” mean?

We all know the advantage of using cdn caching etc.. For that sake i deregistered the script and registered jquery with cdn link . But the problem is that it is showing error like this Yes Debugging in wordpress is turned on. It shows error like this . Notice: wp_deregister_script was called incorrectly. Do not […]

Internal error 500 accessing Theme > Customize

We have created a basic custom theme for WordPress. When trying to access Appearance > Customize from the backend we receive an internal error 500. I have checked the error logs and cannot find anything relating to this. The website is working fine, the theme is working fine as expected, just accessing the customize section. […]

Moving wp-content folder

I want to move wp-content folder out of wordpress installation folder. I have set define(‘WP_CONTENT_DIR’, ‘/opt/deployer/wordpress/wp-content’ ); in wp-config.php file. But themes stopped working on site. Please help me.

Static page not working

First, context: I am not developing a theme, I am not mucking around with PHP. All I wanted to do was throw up a quick temporary WordPress site in a few minutes, paste my content in, and call it “good enough” for a month until I could sit down and dedicate real time to building […]

Create fixed static pages

I have inside a theme two important static pages. One is a confirmation page (after signing up for a newsletter) and the other one is a thank-you page. I am using these in various functions and create them upon theme install with predefined content. The problem is some users tend to change the slug, or […]

WordPress root directory change + Theme directory change

I’d like to create the following structure for my WP installation: htdocs (base dir) wp (WordPress dir) themes (WordPress theme dir) plugins (WordPress plugin dir) upload index.php .htaccess So far I’ve been able to change the WordPress root directory [1] (which means that even though we’re on «wp», we don’t see the url, but […]

Override css rules of a plugin within my own theme

I want to override some rules of a plugin css file within my own theme so next time that I updated that plugin, my settings of that plugin be in a safe place . currently I copied that css file into my theme and changed some rules.So then I need to override this rules. I […]

Implementing custom tag/tax pages

My question has a couple of aspects: My current custom theme is fairly vanilla, with a homepage, tag/tax index page and content page templates. I want to be able to have a couple of custom layout templates for tag pages, so rather than the template hierarchy simply loading the template php, I want to: check […]

WordPress theme layout problem

In Drupal, we have blocks to customise the layout. I am new in WordPress, if I want to change my layout to the second image. What should I do? Does wordpress have block region that can know how does the theme region looks like?