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
0answers
10 views

Meta description ellipsis [duplicate]

I have a function that puts a meta description in my theme's <head>. It works well but I have a small issue. It just cuts off words in the description once it reaches the 160 character limit. I ...
0
votes
1answer
122 views

Changing admin Textarea to integrated WP editor

I'm currently working on a theme for my page that utilizes wordpress's built-in gallery system to make a slideshow with php/jquery. (Post->create new post->add media-> create gallery) Since by ...
0
votes
0answers
52 views

Passing array in add_option() in WordPress custom theme

I have to create a option page in my custom theme wordpress. here is is a sample of code <?php function bguru_register_settings(){ $default_options=array( ...
0
votes
1answer
29 views

Include category name in page template

The theme I am using inserts and styles the page title using this code. I would like to display the category name depending on whatever it is for that category. I have tried a number of methods but ...
0
votes
2answers
427 views

Passing array in add_option()

I have to create a option page in my custom theme wordpress. here is is a sample of code <?php function bguru_register_settings(){ $default_options=array( ...
0
votes
1answer
35 views

Costum Theme template directoy url problem

recently i've made a costum wordpress theme , i already made few before but this time i'm really confused about issue: issue is ; in costum theme i'm using this : get_template_directory_uri() to ...
0
votes
1answer
149 views

WP Knowledge Base Theme bug - Subcategories and Articles, Need to change WP_Query

I'm using the WP Knowledge Base theme, which is almost perfect for the project I'm on, but I discovered an unfortunate bug. On the home page, if you have both SubCategories and loose Articles under a ...
4
votes
1answer
123 views

What, specifically, should be included in theme_name_setup()?

I’ve “inherited” the development of an old theme that I’m now bringing up to speed for WP 3.9. The theme code comes with a functions.php that has a function theme_name_setup() that hooks into ...
0
votes
1answer
15 views

What is the process for reimplementing a back up WordPress?

WordPress noob here. I'm helping a friend migrate her WordPress themes and change servers. I've already moved the WP across servers, but now I'm working on changing the theme on my localhost dev site ...
0
votes
0answers
379 views

Flexslider not working for my custom theme WordPress

I add flexslider to my theme homepage http://templategraphy.com/wp-demo/bluto/ but it didn'not show on my homepage Here is the order of js i placed in function.php function theme_name_scripts() { ...
0
votes
1answer
22 views

Do I have anything to worry about when switching to a default theme to test for plugin conflictions?

WordPress noob here. I want to test a site I'm working on for plugin conflicts. I've heard that switching to a default theme and testing the plugins will do this. My question is, is this going to mess ...
0
votes
2answers
91 views

Change the background of each post according to the category

I am using the Hueman Theme. What I want to do is that the background of all the posts should change according to the category of the post. Please suggest something
0
votes
1answer
211 views

Notice: Use of undefined constant Redux_TEXT_DOMAIN - assumed 'Redux_TEXT_DOMAIN'

I am building my first Wordpress site, I just downloaded and installed v3.9.1. I bought a theme (rustik3) and I am trying to install it, but I am running into these errors produced by WP_DEBUG: ...
0
votes
2answers
164 views

Alternative to Back End Dashboard?

For the past few years the WP third party development community has trended to creating custom Front End forms for Users. This has been the "solution" to keeping unsophisticated users out of the ...
0
votes
1answer
108 views

Shortcode Display From Wordpress Dashboard Page Without Using post_id

I have this code for showing recent posts on my home page custom theme and it works well. functions.php code: function my_recent_posts_shortcode($atts){ $q = new WP_Query( array( ...
1
vote
1answer
585 views

Create search form in menu as in Twenty Fourteen theme

I would like to replicate the search form in Twenty Fourteen's menu. I have tried to hide and show the search button with jQuery. My Problem is that the button is not sliding from left to right and ...
0
votes
1answer
85 views

Plugin to load theme if mobile and specific page

I've been browsing some of the other questions and I haven't been able to find a solution. There was a great solution to part of my problem that I'm basing this code on. I need to detect if on mobile, ...
0
votes
1answer
106 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
83 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
92 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
118 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
70 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
995 views

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

update - the header.php in question: question is: where to add the new line <?php echo do_shortcode("[metaslider id=36]"); ?> at the moment i do not know where to add.... <?php // Exit ...
0
votes
1answer
582 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
45 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
16 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
36 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
112 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
27 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
41 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
32 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
90 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
136 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
80 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
46 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
792 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
228 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
59 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
16 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
81 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
59 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
38 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
710 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
168 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
180 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
81 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
317 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
70 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
29 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 ...