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)

0
votes
2answers
545 views

how would I change background color of a theme using a plugin?

I would like to change themes background color using a plugin. For when I use this code, function change_background_of_theme(){ ?> <style> #main{background: yellow;} </style> ...
-1
votes
4answers
515 views

Wrong theme being activated

I have two installations of Wordpress in Network mode. In one network, when I change a theme of any one of my network websites, one particular network website has it's theme changed to the same theme ...
0
votes
1answer
154 views

My site looks different when activating new theme

I'm working on my site ontwik.com, just created a new design and uploaded it and when I activate, it works fine for the homepage and otherpages. but the problem is when i lo gout from wordpress admin ...
0
votes
1answer
75 views

help needed for suit designing tool

I am working on a theme which has options for suit & shirt designing. Basically, I am stuck in creating taxonomies for suits & shirts. Reference Link Problem I am facing is to plan how the ...
-1
votes
1answer
567 views

Adding a wp_head hook from an included PHP file

I am using a WordPress plugin for including PHP code within posts and pages, and it's working great - however, I need to insert some styles and scripts, and in order to do that, I need to add a hook ...
1
vote
0answers
73 views

How to show different sub sites based on Member's user name In word press?

I have created a web site for a company with lots of sub sites using multisites in word press. These sub sites are password protected and those are for different clients. Lets say for an example :- ...
1
vote
1answer
422 views

Changing the template hierarchy

Is there an easy way to change the WP default template hierarchy? For instance; Say I want to change my theme directory structure so that it completely changes from the Template Hierarchy suggested ...
1
vote
1answer
340 views

How to place HTML tags in content from the_content()?

Firstly, I am new to Wordpress so thank you for your patience. I have a list of posts (with excerpts) being displayed in the page using Short Tags. The output is fine , However, I wish to add and ...
2
votes
1answer
326 views

Two Navigation Menus - secondary nav is including main nav

Two Navigation Menus in Themes Produce the same menus? reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary ...
1
vote
2answers
87 views

Which themes do you use to test compatibilities with your plugin [closed]

When developing a plugin, I usually test it with the following themes before public release: TwentyTen by Automattic TwentyEleven by Automattic Coraline by Automattic Duster by Automattic Hybrid by ...
0
votes
1answer
1k views

Creating a child-theme: CSS not loading

I created a custom theme (style.css in the dashboard) /* Theme Name: Client customisations Description: Child theme for the client Website Author: Me Author URI: ...
0
votes
1answer
139 views

Themes with variable width or single columns? I want to display source code

I've just set up a new wordpress blog, and as a developer I want to post some source code as well. Now I found the suitable plug-ins I need, and also a sleek theme, or so I thought. The problem is ...
0
votes
1answer
87 views

Confused on loading page content

I'm building my first full site into WP and I am rather confused on the process involved to load the content you enter via the WP Pages editor into the actual page. For example, I am having a static ...
0
votes
2answers
492 views

Moving Wordpress with Super Skeleton theme

I have a Wordpress with the Super Skeleton theme (http://themeforest.net/item/super-skeleton-wp-responsive-minimal-beautiful/647570) installed on my server. Now I want to move it to another server. I ...
0
votes
1answer
117 views

Advice for a Newbie Wordpress Web Designer/ Themes? [closed]

I am digging into a freelance career and I would like to know what the best advice is out there when it comes to buying themes for clients? What is the best practice? Themeforest? Bundles? What ...
0
votes
1answer
1k views

Using JQuery to check for Rel Attribute of Image before Overriding It

My Wordpress theme (when enabled) overrides the rel value of the link of all images with rel="lightbox" using the following code: http://pastebin.com/Bsh739QY How can I edit the JQuery to check for ...
1
vote
2answers
300 views

Sub folder CSS that's read by Admin panel

I'm in the process of creating a theme that will have several different setup options based on input from the administrator. One of the options will be to have a Zurb or Basic type layout. I'm ...
1
vote
2answers
753 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 ...
0
votes
2answers
671 views

Multiple sub directories for theme template pages

I apologize if this questions has already been answered, I have a feeling I'm just not using the right terminology for my search. I'm in the process of building a base theme for my employer. One of ...
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 ...
0
votes
1answer
257 views

Having issue with WordPress wp_enqueue_style

I am building a full design into WordPress for the first time and I am trying to load in stylesheets and script files but all I seem to be getting is the text output of the location. What I have is ...
0
votes
1answer
20 views

Displaying Tags for the Page I'm On?

I currently have <?php $comma = array( 'separator'=> ", " ); wp_tag_cloud($comma); ?> and I thought this was solved, until going to other posts and seeing the same exact tags.. so I'm ...
0
votes
2answers
346 views

Commas in Tag Cloud

Using <?php wp_tag_cloud(''); ?> to display tags on my website, how do I separate each tag with a comma but also remove the comma from the last tag?
0
votes
1answer
104 views

Display static pages instead of category, in code

I'm very new to programming and not sure how to go about this. The following code returns 3 category names and feature images and then outputs them on the page. <div id="footer"> <div ...
1
vote
0answers
38 views

Error when using plugin QuickCache with plugin Mobile Smart ?

When I using 2 theme(theme_1 for PC, theme_2 for mobile), when run as PC is theme is theme_1, but when run as mobile is theme is theme_1, I think this error plugin Quick Cache, When I setting plugin ...
8
votes
3answers
4k views

W3 Total Cache, CDN and theme files [closed]

I updated the style.css file of my WordPress installation recently. The change were effective: when logged in as an administrator (my blog is set so that the administrator is never served a cached ...
2
votes
4answers
14k 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
2answers
579 views

How to remove all javascript in a theme wordpress?

I have a theme name is mytheme in themes/mythem/functions.php I using code: function remove_scripts() { remove_action('wp_head','mytheme_head_scripts'); } add_action('init', 'remove_scripts'); ...
0
votes
1answer
496 views

Jquery Theme Roller to Wordpress

How can you load a custom made Roller Theme for Jquery ui to wordpress? I recently created and downloaded a new theme for the datepicker, but can't get it loaded. I tried adding the css file to my ...
1
vote
3answers
160 views

Howto keep header image when changing theme

We have a setup where bloggers can and will have their theme changed. Is it possible to migrate the existing header image to the new theme ? I know how to override the header image with the ...
0
votes
1answer
655 views

How to display message (with switch_theme hook) after deactivating My theme?

I'm able to display a message by activation of my theme with the 'new' after_switch_theme hook this way: function themeActivationFunction($oldname, $oldtheme=false) { $msg = ' <div ...
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?
0
votes
1answer
4k views

How to license my commercial WordPress theme? [closed]

I am planning to sell themes on Themeforest... But i don't have any idea about Theme stuffs... I include some third party stuffs like jQuery, BootStrap, etc., I will include their license. No problem ...
0
votes
1answer
1k views

Implementation of language_attributes function

I am reverse engineering how to make wordpress themes. For that, I opened its files and found language_attributes() function. I went to function.php to find it but it was not there. Any ideas where ...
2
votes
1answer
1k views

Fatal error: Call to undefined function wpsc_cart_item_count()

-- I've just done a fresh install of Wordpress 3.4 -- I've downloaded and uploaded this new free eCommerce wordpress theme suggested by smashing magazine. { ...
1
vote
1answer
33 views

correct tags for validating input types

I have following types of theme options inputs, which I need to validate. $numbers = "#1234"; $email = "abc@example.com"; $simeple_text = "How's going?"; $code = "<script ...
1
vote
1answer
304 views

How can we hide the parent's theme url at the child themes details on a multisite?

I hope the title makes sense. But anyway, to clear things up, here is a screen shoot of what I mean: To be honest I really don't see how site admins benefit from this piece of information since ...
0
votes
3answers
592 views

get_pages Not accepting my query

Im hoping someone maybe able to point out my mistake. I have a function in functions.php with a simple meta_query. If I use this query. $args = array( 'meta_query' => array( array( ...
1
vote
0answers
45 views

Inconsistent translation on a WP site

I have a WP site that I installed with the French translation, as provided by Wordpress France, and which is quite accurate. I wanted to apply an English-only theme, which is not using the PO files, ...
1
vote
2answers
82 views

Posts vs. Pages

Okay so I've spent the last few weeks (on my spare time outside of work) creating a site for a client with a custom built theme. This is my first use of wordpress and the site can be seen here at ...
0
votes
1answer
62 views

Entire VPS locks up when using particular theme [closed]

I have a VPS with, so far 2 osCommerce websites, and it was running fine. I then installed Wordpress 3.4.1 and it was fine as well. I tried a free theme from the theme installer called Hero, and ...
0
votes
1answer
128 views

Custom link color or stylesheets

I'm developing av theme for my WPMU users and are wondering is there a function for choosing the colors on the links? The same way Wordpress lets you change the background-color or header-images. ...
-1
votes
3answers
213 views

How can I install my custom-made theme on a wordpress.com blog? [closed]

I've only ever worked with WordPress on my own server. I'm using wordpress.com for my development environment, but I can't for the life of me figure out how to upload my themes since as far as I know ...
2
votes
1answer
1k views

register_sidebar ignores 'id' and 'class'

I am using the following to register a widget area: if ( function_exists('register_sidebar') ) register_sidebar( array( 'name' => __( 'Footer Widgets', 'hex'), 'id' => ...
0
votes
2answers
92 views

Cannot update a file for my theme

I have a theme that automatically adds some widgets. I don't want them and so I tried to edit the Sidebar.php but it just fails and sends me to a page with message 404. Here's the code block I am ...
1
vote
0answers
501 views

Custom Walker for wp_list_categories

I need some help with making of one Walker Class. Now I’m having a menu with categories and in the dropdown there are some subcategories. The menu is something like that: <div ...
1
vote
1answer
613 views

I get the following message The uploaded file could not be moved to /home/reascom/public_html/wp-content/uploads/2012/07 [closed]

The uploaded file could not be moved to /home/reascom/public_html/wp-content/uploads/2012/07. This is the message I get when I try to load anything to my existing web site. images and themes get ...
0
votes
2answers
88 views

Putting two themes together to create a complete site

I know my way around WP as probably an intermediate user. In the near future, I will have to integrate the design of a template from a completely different theme into a theme I'm currently using. The ...
0
votes
2answers
41 views

static front page ONLY for certain themes?

A theme I am developing depends on there being a static front page. However, there seems to only be one global option to change if front page is static. So when I go to preview the theme, it won't ...
1
vote
1answer
237 views

Archiving annual festival site

I have a query regarding managing a wordpress setup, I am sure others have been in a similar situation and was wondering what would be the best solution. I manage an annual festival's website, each ...