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
37 views

Line break no working on theme

I am working on an e-commerce site and the line breaks wont work, neither using the return button nor using <br /> . I have been looking around but haven't found a solution that works. I would ...
1
vote
2answers
70 views

Why use while over if in single wordpress posts?

Why is while() used instead of say if() here: <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php ...
0
votes
1answer
30 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, ...
0
votes
4answers
67 views

Permalink remain the same on each page

I have displayed the post title within the anchor tag after which I've set the permalink. The permalink, however, is not working with the same title that came from the post. It's like getting the ...
1
vote
2answers
35 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
147 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
77 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 ...
0
votes
0answers
33 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
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
56 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 ...
0
votes
0answers
35 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
27 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
43 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
34 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) ); ...
0
votes
1answer
42 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
32 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 ...
5
votes
1answer
329 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
75 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
55 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
0answers
15 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 ...
0
votes
1answer
29 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 ...
1
vote
1answer
38 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
2answers
28 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
134 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
86 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
80 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
48 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
49 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
1answer
45 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", ...
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
32 views

Trouble creating custom sanitization function when uploading video files

I'm trying to create a Theme Customizer control in Wordpress that will allow the user to upload an MP4 and WEBM video, and in doing so I need to create a sanitization option to verify the file type. ...
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 ...
2
votes
2answers
44 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 ...
0
votes
1answer
43 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 ...
0
votes
0answers
84 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
214 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. ...
0
votes
4answers
62 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
1answer
38 views

How to get theme screenshot

I would need to get list of available themes with their screenshot. I tried to use wp_get_themes function, but it doesn't seem to be returnig screenshot. What is the way to get screenshot for each ...
-1
votes
2answers
90 views

What is the major difference between child theme and normal theme

What is the exact difference between child theme and normal theme? And what are the advantages of using child theme.?
0
votes
2answers
88 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.
0
votes
1answer
24 views

Detect plugin/theme installation (via upload)

I am currently trying to detect when an administrator uploads (and installs) a theme or plugin. The code I wrote is very fragile because it depends on the chance that the plugin/theme's name is the ...
1
vote
1answer
31 views

How should I build a custom menu walker for this setup?

I have a menu structure I built in HTML+CSS that I would like to incorporate into a WordPress menu, but I am new to extending the Walker class and was wondering if someone could show me an example of ...
0
votes
1answer
97 views

jquery-issue: cannot load the basic jquery

I am pretty new to wp. I have installed wp 3.9 on a demo site. I wanted to configure and add some plugins; eg the facebook wp-rss-multi-importer I've noticed that I cannot do some configurations ...
0
votes
0answers
53 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 ...
1
vote
1answer
97 views

Create a theme by combining a parent and a child theme

I have an existing parent theme and a child theme. I have a need for one theme that has the power of the parent theme and the design of the child theme. Is there anyway to quickly combine these two ...
0
votes
2answers
224 views

Permanently remove first image from posts

I have around 2,500+ posts on my site where I've inserted images using the traditional method into the post content itself. In upgrading to a different theme, the single post page now displays the ...