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
6answers
4k views

How to start learning CSS and theme development?

What would be your suggestions for learning CSS and WordPress theme development ? I have been using WordPress for over 4 years now, but I have never really gotten comfortable with CSS or theme design ...
1
vote
2answers
491 views

How to know the theme name of a wordpress blog?

I visit http://ltty.wordpress.com/ and want to know the theme name (so that I can use :) for my blog). How can I get it?
1
vote
2answers
3k views

How to check if a theme is active?

I'd like to be able to check if the twentytwelve theme is active. I know if I was checking for an active plugin I'd do something like: $active_plugins = apply_filters( 'active_plugins', get_option( '...
1
vote
2answers
2k views

Removing Shortcodes from Child Theme

I'm trying to remove the shortcodes from a child theme. In my functions.php file (for the child theme), I've put: function my_remove_shortcode(){ return ''; } add_shortcode('entry-twitter-link', '...
1
vote
3answers
3k views

What can I hook into after_setup_theme?

I'm wondering what can I or should I NOT hook to after_setup_theme? I'm wondering because I have been told that I shouldn't hook wp_enqueue_style to it, but I have seen other places using it to hook ...
1
vote
1answer
426 views

Question about the way that wp_register_script works

Ok so I'm using the Roots Theme for WordPress (https://github.com/retlehs/roots), which, is sort of a starter theme or theme framework. I'm confused about the way that it deregisters the WordPress ...
1
vote
2answers
233 views

How can I create an “excerpt” with text that won't be displayed in the post itself?

I'm currently creating a new theme for my blog and I intend to make it in a magazine style manner. So, to clarify the question in the title: what I want to do is to create a text assigned to the post,...
1
vote
2answers
13k views

How do I make the category template display full posts instead of partial posts?

I'm using Wordpress 3.0.1 with the Twenty Ten theme. I'm trying to change the way the posts in the Category view are displayed (i.e. by going to a url like mywebsite.com/category/mycategory). ...
1
vote
3answers
543 views

Why doesn't wp_enqueue_script() work when including a JavaScript file with TEMPLATEPATH?

I am trying to use tips from here to add my JS file. I put the following in the functions.php of atahualpa theme I've got installed function lektor_init() { if (true) { wp_enqueue_script('...
1
vote
3answers
114 views

Does uninstalling a Wordpress theme delete its database values?

Does uninstalling a Wordpress theme delete its database values? I have a site that has lost some styling, and even after restoring a file backup (from 15/2/2016) and database backup from 19/2/2016, ...
1
vote
3answers
2k views

WordPress Theme activation hook?

I know the many tricks to see if said theme is activated, I have scoured the internet. I am not looking for re-pasting of that code. What I am looking for though is weather or not 3.3-3.5 released a ...
1
vote
2answers
759 views

Load a theme based on browser detection

Ok I know browser detection is considered bad practice but I can't find a way around it because I really do need whole different themes for a complex site. So I snatched this function from http://...
1
vote
3answers
121 views

Why is Wordpress asking me to update my new (virtually blank) theme?

I have just setup a new custom theme with little/no data and yet Wordpress has made an update notice about upgrading it to "1.0.1" and I cannot for the life of my work out why. I have stripped down ...
1
vote
2answers
230 views

Specific theme for non logged in users

I want to make an specific theme for non logged in users, but I don´t know how to make the function or plugin to shift the theme for them, and left another specific theme for logged in users. Anyone ...
1
vote
3answers
205 views

Exclude stylesheet from admin

I have been using the following function to enqueue some CSS to my theme. However, they are used in the admin area as well: wp_enqueue_style(...) I don't want them to be used in the admin area. ...
1
vote
2answers
59 views

How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?

How to remove the: {site} / Proudly powered by WordPress in bottom of generated pages using twentysixteen (2016) theme on version 4.5.2? Would prefer if this change was not affected by later ...
1
vote
2answers
299 views

Theme broken after upgrading to WordPress 4.5, missing stylesheet?

Updating to WordPress 4.5 broke my theme, ThemeWoot Emulate. It appears that perhaps a stylesheet is somehow missing. Example symptoms: The mobile menu is shown by default The top search box is ...
1
vote
2answers
135 views

Cannot find the code for “Edit This” link in posts in a specific theme

I cannot for the life of me find the code for this particular item: Usually in other themes there's the link "Edit" on the front page and post page to directly go to edit the post in admin panel. ...
1
vote
1answer
1k views

Can't Install Child Theme “The parent theme is missing. Please install the ”Default“ parent theme.”

This is my first time installing a child theme and I ran into some errors Here' the style.css /* Theme Name: WD TechGoStore-child Theme URI: http://wpdance.com/ Description: Commerce Template Author:...
1
vote
2answers
84 views

Is it acceptable to build functionality into a theme built for a client? [closed]

I know it's now the common wisdom to not build functionality into themes, as advised by WordPress, Envato, and others. This includes the likes of content types, taxonomies, sliders, shortcodes etc, to ...
1
vote
3answers
3k views

Style.css redirects to 404 Page not found

I've just uploaded a wordpress site from MAMP to a live site. Exactly the same methods I usually use to upload them, including permalinks and all the usual PHPMyAdmin bits. This time the style.css, ...
1
vote
1answer
4k views

How to correctly add JQuery in a WP theme?

I am pretty new in WordPress and I have the following doubt: I have to include JQuery into a theme and I am doing in this way: I create the following function into functions.php theme file and I add ...
1
vote
3answers
3k views

Find proper “text domain” within theme

I have a client with a wordpress theme, Nevada, and we are having trouble making the built in translations work for it. The theme contains .mo files for English, German, and Slovenian, and appear to ...
1
vote
3answers
4k views

How to remove header image on subpages in Twenty Eleven (default theme)?

I'd like to remove the header image on all the pages except my "home"-page. Any ideas? Thks
1
vote
2answers
3k views

Unwanted blank lines before <html> tag

I've a strange problem with an Autofocus theme. In my templates file, header.php, I've a code like this (and is correct) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www....
1
vote
2answers
223 views

Themes—Child Themes

I apologize if this is a very basic question, but I am very new to working with Wordpress. I'm looking into using Wordpress as a CMS for a new site I'm building but I'm not sure I understand some of ...
1
vote
1answer
294 views

How do I remove twentyten without ruining what I did?

I created a blog with the twenty ten theme. I understand there are issues with upgrading WP with this default theme. It overwrites what you did. Is there a way to fix this with starting over. How ...
1
vote
1answer
540 views

Are there any 'Coming Soon' themes for Wordpress 3.0?

I have a website I am starting to build on Wordpress, but I want a placeholder theme to put up while I develop the theme. I had some links to some good "Coming Soon" themes for 2.X, but I lost them. ...
1
vote
2answers
51 views

index.php is not loaded for single posts

I'm using the following code at the top of my index.php page in my theme and it never hits the is_single() code even on single posts. if ( have_posts() ) { echo "****************we have posts"; ...
1
vote
2answers
52 views

Overwriting templates in child theme and performance

Is it bad for performance to overwrite custom templates in the child theme? For example: I have a template called single-music.php in my parent theme. I have put single-music.php in the child theme ...
1
vote
2answers
391 views

Renaming the Twenty Fourteen Wordpress theme

I know the benefits of creating child themes, but it in my case I really would like to create a theme based upon another one without any dependencies to a parent theme. I tried to use a sed command to ...
1
vote
3answers
184 views

Some doubts about how to show posts in a custom theme?

I am pretty new in WordPress theme development and I have some doubt about this WP function used to show my post in the homepage: <?php if ( have_posts() ) : // Start the ...
1
vote
1answer
73 views

What tags should be used for themes to show the type of layout?

In the Tag Filter the old tags 'fixed-width' and 'flexible-width' were renamed to 'fixed-layout' and 'fluid-layout'. Also new 'responsive-layout' tag appears. Should users duplicate new tag 'fluid-...
1
vote
1answer
3k views

add_action in functions.php, do_action in plugin?

I am trying to set an add_action function in my currently active WordPress theme functions.php file, for a defined do_action function within an activated WordPress plugin. The add_action function in ...
1
vote
3answers
2k views

Download WordPress.com theme: how?

I like this theme. But I don't want it to use with a wordpress.com blog but download it to use with my WordPress site at my own domain. But I can't find a download link. Is it possible?
1
vote
2answers
2k views

hfeed CSS class in Twentyeleven Theme

The twentyeleven theme has hfeed class attached with the main container #page. I could not find any definition of hfeed in style.css. Does it have any purpose or its just a random class name given?
1
vote
1answer
750 views

Change Default Image HTML

I am making a Wordpress theme and want to change the default image html. For example if you upload an image using Wordpress uploader it generates the following html for your images <a href="...
1
vote
1answer
3k views

Working with an Array inside Your Theme Options Array - Multiple Values

I apologize if this is covered extensively elsewhere, I'm not sure how to phrase my searches on the topic. Basically, instead of the following standard code to store data in WP-options... $options = ...
1
vote
1answer
70 views

Protect changes made to the theme when updating

I customized the wordpress theme I'm using by changing php, css and even a js file. Is there a way to protect these changes, when updating the theme to a new version?
1
vote
3answers
2k views

How to change sidebar per page?

I am new to theming with wordpress. I have a theme layout with one sidebar at the right side of the website. Now on my homepage and one other page i dont want to have the sidebar. On all other pages ...
1
vote
4answers
599 views

Wordpress Theme for Video Showcase [closed]

Does anyone know of a good theme for showcasing multiple Youtube videos? Thanks!
1
vote
1answer
35 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('...
1
vote
3answers
161 views

PHP files included in functions.php don't seem to work

This is my first post on WordPress StackExchange, I'll try to be precise. My question is: Is there anything in particular I should do to the files I'm including in my theme's functions.php file? ...
1
vote
2answers
7k views

woocommerce Add custom field set like billing fields

I am working on E-commerce functions where i require to Add custom fieldset as Profile Fields the fields in it are as billing Below are the Fields that is needed in My Check out and signup form ...
1
vote
2answers
519 views

Which hook callback has priority if both plugin and theme use the same hook?

If a theme and a plugin uses the same action hook, for example comment_form is used by both theme and plugin. Then , which one will be called first? the function associated with the theme's hook or ...
1
vote
1answer
156 views

Same theme name issue with wordpress repository theme

I created new theme with name for example XYZ. its good till now but the issue comes before few days. Wordpress repository has a theme with same name as my theme's name. Now the issue is when the ...
1
vote
3answers
1k views

How to remove a file included in parent theme with locate_template() via child theme?

In my theme I use locate_template() to load the various parts of my functions library. I'm looking for a way to not include one of those files when using a child theme. I tried adding locate_template('...
1
vote
2answers
552 views

Child-theme breaks site

So, I have a child-theme with nothing but the required CSS file in it. Once I activated this child-theme my entire site is down. I end up with 2 questions: How can activating a child-theme with ...
1
vote
1answer
200 views

Theme Check: Could not find post_class

I've inherited a theme from a another developer that I've re-styled for a client. We're just about finished, but I thought I'd run it through the Theme-Check plug-in to see if there's any errors or ...
1
vote
4answers
3k views

Confit theme on Wordpress.org

I'm a fairly new user of wordpress.org. I have a wordpress.com site using the Confit theme and wish to transfer it to .org. I exported the site from .com and into imported to .org successfully, only ...