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
1answer
24 views

Where did my Theme Editor go?

I have 2 blogs, both are versions 3.x One of them, "Blog 1" is a multi-user blog. I can't edit the themes under Appearance->Editor , because it doesn't appear. "Blog 2" is a single instance blog, ...
1
vote
2answers
254 views

Get url of thumbnail from the media uploader

I want to select image from the WordPress 3.5 media uploader. I can get the image URL with the following code, but it gets the full size image. I want to get the thumbnail image url,how can I get ...
3
votes
6answers
1k views

What Wordpress E-Commerce theme should I use to get started? [closed]

I've done created a LOT of Wordpress themes and plugins, but I haven't done much with the Wordpress E-Commerce plugin. If someone asked me what theme they should start playing with to learn about ...
1
vote
2answers
26 views

Hide default “Recent Comments” Widget if there are no comments yet

Is there a way to hide the widget completely if there are no comments yet? I was thinking about maybe adding a php function to my functions.php file - is that a possible way? If so, can someone ...
0
votes
1answer
59 views

header.php-tweak: How to do that getting Meta-Slider into the header-center?

running wp 3.9.1 with the following things on a truely beta-page called http://www.maedchenhaus.org theme 2014, child-theme (twentyfourteen-child) fourteen-colors-plugin and the meta-slider-plugin ...
0
votes
1answer
43 views

Add a header widget to the twentyfourteen theme?

I would like to add a widget to the header area (above the main menu) of the WordPress Twenty Fourteen theme. Ideally this would cut down the size of the header image from the full width to half, with ...
1
vote
3answers
222 views

Displaying a widget in sidebar only when no other widgets rendered?

I am working on a custom theme, basically migrating a current sites look and feel into WordPress. Most of everything is based on Pages, and all of these pages should have a left sidebar. Of those ...
0
votes
0answers
28 views

Admin area for user, custom theme or admin theme?

In my WordPress site, I need to provide some backend functions for logged in user, so currently I have two choices use the wp-admin, customize the menu by hiding irrelevant items create a custom ...
0
votes
1answer
61 views

How to add oEmbed support to my theme?

oEmbed does not seem to work on my theme. I simply see the bare URL. I haven't been able to find instructions on how to implement it. Thanks.
1
vote
2answers
261 views

How to show single post page as home page

I want to start a funny images website but I have come across a dilemma. I want the website to display 1 post ( not the thumbnail) but the full post on the home page. (the most recent post). Similar ...
0
votes
2answers
13 views

Get markup for post without loading into the template

I am writing a shortcode plugin that displays posts according to some parameters passed into the shortcode. I have the wp_query to get the posts and now I am trying to get the markup for the posts ...
0
votes
1answer
30 views

Theme specific plugin, how?

Can someone tell me whether it is possible to create a plugin that is only available to a specific theme and how do I override certain settings in that theme? The problem This is basically the story. ...
0
votes
1answer
52 views

Undefined variable error in theme option after updating theme [closed]

I have built a theme.. Now i have updated the theme and my theme consist of two new fields in the theme option panel <input id="welcome_post_char" type="text" name="abc_options[welcome_post_char]" ...
-1
votes
1answer
25 views

To create a theme or use an existing one? [closed]

Thanks for stopping by. So I have been asked to build an intranet for a company's 500+ staff to use. I've weighed up the options and decided to run with Wordpress for it. I started to build using ...
1
vote
3answers
5k views

How to insert a logo in the header?

I am pretty new in WordPress world (I came from Joomla) I am finding some difficulties to insert a logo into this WordPress test site: http://onofri.org/example/ I want put my logo in the header of ...
0
votes
0answers
32 views

Theme Development : License help

I'm developing my WordPress Theme. Is Theme required to use Copy Right when its does not have registered in Copy Righted list? is themes images directory required Copy Right declaration? I checked ...
0
votes
1answer
26 views

featured content: which area does this cover [closed]

new to wp just wonder how to get content into the center of the theme note ive installed wp 3.9.1 choosed the theme 2014 with child-theme and run the plugin fourteen colors what makes me wonder : ...
0
votes
1answer
36 views

List Categories of the Parent Category of the Current Category

So, let's say I have this structure of categories I. Super Cat A i. mini cat a ii. mini cat b iii. mini cat c I. Super Cat B i. mini cat a ii. mini cat b iii. mini cat c This code: <?php ...
0
votes
1answer
40 views

Theme modification for custom category menus

My goal is to have a custom menu in the header based on the category of the post being viewed. I'm setting up a single wordpress site that will contain about a half dozen different categories. ...
0
votes
1answer
27 views

How to get menu location in wp_update_nav_menu hook

I want to get the menu location in the wp_update_nav_menu (during menu save action) add_action('wp_update_nav_menu', function ($id, $data = NULL) { error_log( var_export($data, true) ); ...
1
vote
1answer
32 views

Which settings/options are saved on a theme-basis and how does this affect theme-switching?

I realized that when switching the theme (in my case to a child theme) some things don't stay the same: Widgets Menus At least this is what I found out so far: Widgets Don't lose widgets when ...
0
votes
1answer
27 views

Extending a theme: build new features as plugin or core modules?

I have developed my own WordPress theme based on the Roots starter theme. Because of my clients needs, I'm often required to develop custom features (what I refer to as "modules") that are added to ...
0
votes
1answer
368 views

“No Data Received” error in Chrome every time i try to update the theme functions file

Under Appearance --> Editor --> functions.php ( Theme functions ), whenever i try to modify a piece of code in it and click Update, i get this "No Data Received" error in Chrome. I never get this ...
0
votes
0answers
52 views

Theme Loading Into Dashboard

I'm having this really weird, never seen before, issue ... whenever I visit the Dashboard, after about 3-5 seconds, my theme loads into the Dashboard layout. It's like the theme's stylesheet is being ...
5
votes
1answer
296 views

Is it OK to remove theme credits from footer? [duplicate]

The file named footer.php contains the copyright info: Designed by ... Is it OK to remove theme credits from footer? Is it legal?
0
votes
1answer
49 views

Adding search form to header in huemen theme along with header background image

I want to add a search form to heumen header along with the header image. there is one more problem that i want to redirect the user to another website when he searches that form. example he searches ...
0
votes
1answer
52 views

How to install wordpress theme's plug-ins?

I need you're help, as I'm sort of a noob at installing extras in themes. I installed the Metro Magazine theme on my wordpress site, but the metro magazine theme has some plug-ins to increase ...
0
votes
2answers
306 views

How to use one git (github) repository for version control for multiple themes

I have built and maintain many themes for various clients. I'd like to be able to put them all in github for lovely version control. However github gets a bit expensive when you have over 20 private ...
0
votes
0answers
14 views

Default Template infinite loop of Title

Pages which have no specific template assigned output an infinite amount of h2 page titles, which looks like this: This is what my Themes index.php looks like: get_header(); ?> Hallo ...
1
vote
2answers
82 views

Grab the first paragraph of each post

I have some code that uses preg_match to grab the first paragraph, and then spit it out in the loop: function first_paragraph() { global $post, $posts; $first_para = ''; ob_start(); ...
0
votes
1answer
28 views

Blocking Plugin Css to load custom in template directory

What is the most popular method to stop/block a plugin from loading their css styles ( located in the plugin directory) so that I can use the custom copy I made (located in my template directory). I ...
0
votes
2answers
25 views

How to add multiple images in a page

I am developing a WordPress Theme and I've got stuck in a point. What I want to do is to add a box at the right of page editor so the admin of the site can add multiple images on the fly in this ...
1
vote
0answers
12 views

Wordpress admin screen failing to appear [closed]

Just started learning Wordpress and this started to happen right after I accidently moved a couple core files around, i put everything back and everything works its just that accessing ...
0
votes
1answer
91 views

An unexpected error occurred. Something may be wrong with WordPress.org

I installed wordpress through .zip file on ubuntu. Once I finished configuring the wp-config.php, I created an account in wordpress and opened it through my localhost. When I tried to add new themes ...
0
votes
1answer
75 views

best practices for updating wordpress theme

Need to use a new theme for one of my Wordpress websites, but at the same time I need to also keep the current theme live whilst I make changes. What is the best practice? Should I develop the theme ...
2
votes
1answer
70 views

get_template_directory_uri does not seem to work when defining WP_CONTENT_DIR

I have defined in my config: define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/somedirectory' ); after Codex: Editing WP Config BUT <?php echo get_template_directory_uri(); ?> prints out: ...
0
votes
1answer
37 views

Cannot add edit themes and add plugins after multisite update

After updating a multisite installation to WP 3.8, when in the My Sites Dashboard, hovering over "Themes" or "Plugins", no submenu pops out. There are however submenus popping out of "Sites", "Users", ...
1
vote
1answer
71 views

How to require users to login when not logged in

I am trying to develop my first WordPress site, its going to be a school site, I develop sites normally, but this is my first time of using a CMS to do that. The school site is supposed to display ...
0
votes
1answer
43 views

Proper way to use plugin functions in functions.php

I just ran into an annoying problem on one of my WP sites. I'm using the qtranslate plugin and in the functions.php of my theme, I access some of that plugin's functions. Now, it seems that ...
0
votes
1answer
36 views

Meta title W3C Validation Error with

On the single post, the WordPress generates the meta title automatically but it gives validation error. This is what WordPress generates: <meta name="title" content="The post title goes here" ...
0
votes
0answers
27 views

How to tell if a script is being executed from a plugin, a theme or a child theme in WordPress?

I have a framework for WordPress that can be embedded into either a plugin, a theme or a child theme. In order to return proper URLs, the script needs to determine from where it is being executed. I ...
0
votes
1answer
41 views

What does the term “bundled-theme” mean?

I have occasionally heard the term "bundled-theme". I know what a WordPress theme is, but I don't know what a "bundled-theme" is. I came across that term recently when reviewing the WordPress ...
2
votes
2answers
36 views

What's the earliest point I can get the queried object ID?

I'm writing a supplement plugin to Wordpress Mobile Pack because I would like to use the default theme on pages that are assigned a certain page template. My plugin will only deal with the mobile ...
-1
votes
4answers
59 views

Preserve theme settings when migrating from local to live

Whenever i try to move the website from local to live or viceversa Theme Option settings resets. Exporting the settings and importing it couldnot restore the images which is an upload field(P.S.it ...
0
votes
1answer
36 views

How can I demonstrate themes well?

How can I demo Wordpress themes well? I'd like to avoid any undo labour or inefficiency. Perhaps one Wordpress for links to different themes (example.com/themes), and each link goes to a second ...
0
votes
4answers
58 views

Is it possible to stop a theme activation when a certain plugin is not activated

So I am planning a theme that will depend on a plugin (for instance Timber or Themosis). So of course a theme will break if it can't use it's depending plugin's. So I would like a way to stop the ...
0
votes
0answers
61 views

Permanently displaying custom fields in Vantage Theme

I am using an AppThemes theme called Vantage in order to build a business listing directory. My issue revolves around their in build custom form builder. It works in such a way that a custom form that ...
0
votes
0answers
158 views

White screen and can't activate themes and plugins

I have a newly installed Wordpress website. The problem is the front end is just showing a white blank screen. I can access the admin dashboard, and when I went to Themes I got this error. ERROR: ...
0
votes
0answers
21 views

Replacing current theme folder by previous version of the same folder produces “undefined function get_header()” error

In order to check a previous version of my theme, I temporarily moved my current theme folder elsewhere and put at its location the folder of an older version of the same theme, with the same name. ...
5
votes
8answers
7k views

How can I version the main CSS file?

How can I instruct wordpress to use a filename other than 'styles.css' for my main stylesheet - for example, styles-1.css? I'd like to do this for versioning and caching purposes.