A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a blog.

learn more… | top users | synonyms (2)

1
vote
1answer
10k views

Forbidden 403 error, permission to access, unable to read htaccess

Recently clean-installed (with exception of themes and content/upload folders) an old wordpress to the latest Wordpress 4.2.2. I continue to get this error below whenever I load files such as style....
2
votes
3answers
1k views

How to tell a theme to use different .mo and .po files?

I have a theme which loads .po and .mo files to display strings in English. I want to have only one language (Polish), but those two files are en_US. I tried replacing content in the en_US.po file but ...
0
votes
2answers
736 views

404 Error while accessing the font files

Added a custom font as follows Uploaded web-font files and given them the 777 permission http://example.com/wp-content/themes/mytheme/css/fonts/ Added rules to the css file @font-face { font-...
1
vote
1answer
36 views

Change settings of get_post_type_object

I've a theme with a plugin provided by theme developer for manage portfolios section. This plugin create a custom post type with this code: // Portfolio post type register_post_type('...
5
votes
2answers
53 views

Overide get_template_part( 'partials/post', 'sidebar' ); with a plugin

I am working on a site for a client who has a theme built for them by a different developer. They have asked me to make some changes to the site, and I'd like to put all of my changes into a plugin as ...
5
votes
4answers
15k views

Different template of products for specific category. WooCommerce

For example i have category coffee machines, and one template for coffee machine single product template, but for category coffee i want to have different single-product.php template, how to implement ...
0
votes
3answers
44 views

Shortcodes do not work in own template

I have a big problem rendering shortcodes in my template I designed for my Tennis Club which works fine. However, now I wanted to integrate the standard WordPress Gallery, which is implemented by a ...
0
votes
0answers
48 views

In a theme i used, how to change “/works/” URL name (or) even remove?

I'm using a free Theme called "Workality Lite". It gives the urls like: http://www.example.com/works/postcard http://www.example.com/works/report How do i then modify (or hack?) to NOT TO ...
0
votes
1answer
16 views

Updating WordPress Theme Files

How do you update a site's theme files which has a child theme active? And can you do it entirely from the front end?
1
vote
0answers
9 views

page does not working HTTP ERROR 500 [closed]

I try to put in css color tools and the page was disappeared. how can I recover - reverting the page?
0
votes
3answers
3k views

Use a different template/theme if mobile only on home page

I have looked around and can not find anything that fully works for my issue: I want to be able to set the home page template on the fly when a user is visiting from a mobile phone but not a tablet. I ...
0
votes
1answer
16 views

include(locate_template) messing up the loop

So, I've developed a one page theme that pulls in child pages of the parent in order create the layout. I also have it set up to pull each sub pages page template and display the content accordingly, ...
2
votes
1answer
30 views

Does Wordpress create mobile menus automatically?

I am using Wordpress 4.5.2 with a custom theme. I am a bit confused about WP and the theme customizations, what does the first and what the second. For example, fullscreen menus are managed by WP........
0
votes
3answers
44 views

How to create custom layouts and static pages in themes for clients

How do I build goodlooking, custom pages into my themes. I've decided to use underscores to create custom client themes, as I need complete freedom in design, and all the tutorials I've found on theme ...
3
votes
2answers
43 views

Finding Page Template and Displaying Content

So, I'm building a theme for a client with one page layout functionality. Currently, I'm allowing the user to create a parent page, and the modules within that page are separate pages that will be set ...
0
votes
0answers
23 views

How can i make my child theme editable by html and css?

I want to edit my child theme with CSS and HTML. Ideally i would like to edit my child theme files on my computer and then through filezilla make the changes to my website, but nothing is happening. ...
0
votes
1answer
70 views

Why do I get this “peer's certificate issuer not recognised” error when trying to install a theme?

I'm trying to install a theme and some plugins on my WordPress install but every time I try to install a theme or a plugin it gives me this error: Download failed. Peer's Certificate issuer is not ...
3
votes
2answers
9k views

How to set thumbnail image for a (child) theme

I've created a basic child image for twentytwelve, and it works as expected. The only issue is that it does not have a thumbnail image in the themes page: How do I set a thumbnail image for my ...
0
votes
0answers
57 views

How to upload theme: wordpress org Theme upload error

im checked my theme through theme check plugin. result : im failed upload wordpress org theme upload. having a problem uploading my theme to wordpress as the initial theme check fails with the ...
0
votes
1answer
44 views

Load all files from folder in theme – Security concerns?

I'm using this code below in a config file to automatically require other PHP files in the same directory and in subdirectories. This helps my work flow become more efficient. I'm concerned that I ...
0
votes
1answer
23 views

get_option in header.php not returning value from customizer

I've set up a new section in the customizer called Social Links, under which I've set up an option and text field control called Facebook. Here's the code in my functions.php: // SOCIAL LINKS $...
1
vote
1answer
23 views

Echo tags used to describe the theme

I've got a plugin I am working on to return an instance of the WP_Theme object properties. The plugin essentially allows for a simple child-theme creation. /* Theme Name: <?php echo $...
4
votes
1answer
221 views

Best practice (forward compatibility) for theme options

So here is what I'm wondering... You all know about Option-tree and similar frameworks that theme authors are using for their theme option pages. You also all know that since 3.4 WordPress introduced ...
0
votes
1answer
24 views

underscores use of the article element on the page template

I understand and what I have seen the most is the use of the article element for blog/news posts. This makes total sense to me. article element to be used for content that can stand alone or ...
0
votes
1answer
919 views

Woocommerce sidebar not loading in theme

I've installed Woocommerce into a theme however as it wasn't configured for Woocommerce I'm running into a problem. Client wants a sidebar to show catagories so I'm trying to pull in Woocommerce ...
0
votes
2answers
2k views

add image size still doesn't work even after regenerating thumbnails

I'm encountering this very frustrating problem where add_image_size() just doesn't seem to work at all (in fact, I've never seen it even work before). By not working, I mean not resizing / crop (if I ...
-1
votes
2answers
83 views

Wordpress Add javascript:void(0); to menu link item?

I want to add javascript:void(0); to menu link item instead of # but it is not accepting any JavaScript. Now i am thing to replace # with javascript:void(0); using filters, but could not find the ...
0
votes
2answers
41 views

Renaming a theme so it aids SEO and the theme used is hidden

We are using the Divi theme for our Wordpress site, we have also activated a Child Theme that we have named our SEO keyword. However, when you look in the "View Source" and Theme Sniffer Chrome ...
1
vote
2answers
30 views

How to remove background image from post navigation elements?

I am using a theme which shows the featured image as background image in post navigation elements (next and previous links on a single post). But I want to remove these background images. Here is ...
0
votes
1answer
343 views

Theme Customizer : how to create multiple-level panel

Is there a way to create deep-level sub Panel in Theme Customizer(like roots of plants) ? My theme that I have been developing seem to be more complicated. I think that if we can create deep-level sub ...
2
votes
1answer
37 views

Theme-Config tab in admin Pannel?

Sorry, for my broke english. There are few questions that I'd want to ask that got me quite confuse. I will try to phrase and describe my question the best way I could. Starting with a bit of ...
0
votes
1answer
21 views

Using activated_plugin to run code

I am using Site Origins Page Builder plugin and want it to install when my theme is installed, so to do that I am using TGMPluginActivation. This correctly installs and activates a bunch of plugins. ...
0
votes
1answer
30 views

Wordpress Fatal error: Call to undefined get_header() in index.php on line 15 [closed]

I downloaded a wordpress theme recently and i tried to run it but it gives me an fatal error shows that call to undefined fatal error(). Why this error generates ? I am a new bie to wordpress theme ...
1
vote
1answer
30 views

Single Theme folder for Multiple Wordpress

I ran into a scenario where I want to achieve this. WordPress Site 1 WordPress Site 2 WordPress Site 3 WordPress Site 4 I want theses four sites to have a single theme folder and it get themes and ...
6
votes
4answers
290 views

What WP folder can I use to write files to?

I am working on a theme that uses dynamic in head CSS and gives admin an option to also place the same in a file. Problem is that I am not sure what WP folder is always writable. I originally added ...
-2
votes
1answer
2k views

“Parse error: syntax error, unexpected” and the Wordpress Theme Editor no longer working!

I knew I made a syntax error or something which Wordpress showed error after I added code to functions.php : Parse error: syntax error, unexpected 'Lucida' (T_STRING), expecting ',' or ';' in /home1/[...
6
votes
1answer
57 views

When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?

I'm currently using WordPress's built in Custom Headers to get images for a slideshow on the homepage of my website. For the most part, this has worked as intended; it allows me to upload a set of ...
1
vote
1answer
31 views

How to create a backend for a custom theme?

Let's assume that there are six different pages in a website. Each page is different & only common part is header & footer. So how will you create back end such that most of the website can be ...
-5
votes
2answers
44 views

Is there any open source WordPress Themes?

I am a WordPress Plugin Developer. But I need to create two custom WordPress themes for a client (Client will sell those themes). It is hard me to start WordPress theme development from scratch. So ...
0
votes
2answers
24 views

Call wp-blog-header.php header without performing a wp_query

I have setup .htaccess to map a custom url to a custom php script. This page is not part of wordpress, but i want it to use the wordpress theme. At the top of the script I load up Wordpress. And from ...
1
vote
2answers
43 views

Example of a theme organization without all the default wp files in root

I know I can get rid of some of the default WP theme files required using get_template_part() for instance. But some files still need to be present - for instance, how would I move page.php to a ...
0
votes
0answers
24 views

Orderby one meta key, remove posts with another

I am trying to order custom posts with a custom taxonomy with a meta key value. I am also trying to remove posts from that loop if they are past the date set by another meta key. Here's my code: ...
0
votes
3answers
35 views

Updating a theme

I am creating theme for WordPress which I hope to maintain. The current method of updating a non-WordPress hosted theme is to either replace the old theme with the new theme through FTP or switch to ...
2
votes
0answers
28 views

Disable plugins on cron and ajax page

I want to disable few wordpress plugins on my cron and an ajax page. I have already tried option_active_plugins filter but it's not working. I have checked and found most of the people say that ...
-4
votes
1answer
27 views

How to make a page extend full screen [closed]

For some reason my wordpress theme has invisible margins on both sides of the page, forcing all my content into the middle. Example.
2
votes
2answers
2k views

Add social icons in a theme through custom admin menu

Is it possible to make a theme with an option of configuring social icons with links through the custom header control panel? I googled it and found nothing that could help me, any help on that topic ...
0
votes
0answers
15 views

Remove/Disable “Automatically add new top-level pages to this menu”

Is there any way to disable or remove the "Auto add pages - Automatically add new top-level pages to this menu" functionality via a theme? I suppose I could hide it with a bit of CSS, but I'd rather ...
1
vote
1answer
30 views

Get WordPress to use another custom “author.php” file (“custom-author-file.php”)

currently, this example code in WordPress: <a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php the_author(); ?></a> turns into: <a href="http:/...
1
vote
1answer
32 views

Is it possible to place custom post type files inside a folder in theme directory?

I have created a custom post type called customtype. From my understanding the template file for it would be single-customtype.php which is placed inside wp-content/themes/mytheme. Can I place the ...
0
votes
0answers
18 views

update_option() is not working properly on my side, xampp and wampp is crashing

I'm using update_option() inside a validation callback on a custom options page for my theme, but every time I execute or save the settings page, Xampp and Wamp are crashing. Here is my code: ...