Themes create the public (front-end) interface for a WordPress site.

learn more… | top users | synonyms

0
votes
1answer
36 views

How to include a file only on dashboard widgets page?

I want to add some styles to the widgets input fields. Therefore I want to include a style.css file only on the wp-admin/widgets.php page. How can I detect the above page and include file there?
-1
votes
2answers
602 views

How to Add Font Awesome Icons to WordPress Menus?

How to Add Font Awesome Icons to WordPress Menus
0
votes
1answer
71 views

how to design change in woocommerce cart page and all other page also by theme? [closed]

I want to change all woocommerce pages design change as per my theme template so what can i do .
0
votes
0answers
40 views

Suppress the_content filter in a nested loop

I have some layout changes that are being applied to the_content. I need to do one of two things, but neither is working as expected... either: Pass data to the filter so that it knows if it is a ...
0
votes
2answers
71 views

how to get the post attachement image in full size?

Hi i am using the normal loop to get the post content. Objective is to show images or videos in the blog. I tried the_content() for the loop but am getting the thumbnail image i belive, What i want ...
0
votes
0answers
19 views

disable menu theme

How can I not display navigation menu in wordpress! I want to display navigation menus based upon the language user has selected. but there primary navigation is always being displayed! How can I ...
0
votes
2answers
51 views

multiple language website navigation menu suggestion

I have completed a single page wordpress theme. I have to add the feature of multiple languages to it. So what I have decided is to make the user create a page such as about-gr Which gr stands for ...
0
votes
2answers
41 views

Display the current post author and his url in the post header

I'm making some changes in my theme. I want that when they visit a Post the header should contain the post author and his URL. right now I'm using this: echo '<a ...
3
votes
2answers
357 views

How to change admin bar color scheme in MP6 / WP 3.8 front end?

I need to change default color scheme for all users. The admin bar on my site is vidibile for all users including guests. The default black color scheme isn't beauty with my design and I would like ...
0
votes
0answers
91 views

Custom URL structure with external web service

I have WordPress site which displays content from database, but I also want to consume .NET web service hosted on the Windows Azure and fit the content inside the WordPress. URL structure of ...
0
votes
0answers
28 views

Can anyone tell me why I can't edit a plugin when it is installed without having to re-install?

I am using a shortcode plugin as a framework for the short codes I want to add that go with my theme. I decided to just include the plugin in a repo for the user to dl so I am not building theme right ...
2
votes
1answer
45 views

Remove parent from custom post type

I've created a new custom post type with WordPress. However, the slug adds the post to a parent, like so: http://example.com/UNNCESSARY-PARENT/post-title However, I'd like it to create: ...
1
vote
1answer
45 views

Custom post types and category archive

I think this should be a simple thing to do but I'm struggling to make it work. What I have is the following: Custom page type called 'products'. Products contain multiple categories and ...
0
votes
0answers
79 views

WordPress Bones theme, changing default Excerpt amount of words

Been back and forth with this one and cannot find anything on the Themble site about this. I am trying to shorten the length of the_Excerpt from 55 words to 20. Have checked the codex and know what I ...
0
votes
1answer
37 views

how to hide home nav link in wordpress

I'm trying to hide the home navigation link from the theme boilerplate that I downloaded from underscores.me. Wordpress codex says that its not shown by default, but whether I do this: <?php ...
0
votes
1answer
41 views

get_template_directory adding FTP root folders in urls

I am creating a theme, and now I am adding some functionality for my custom post type, such as different metaboxes in post page, extra post config page. It seems when I try to get the sites theme ...
0
votes
0answers
33 views

wordpress can't upload plugin

I can not upload the plugin through the admin or cpanel. I am trying to work in localhost. I am getting the following error Unpacking the package… Could not copy file. ...
0
votes
0answers
22 views

custom processing for posts

Although I'm very well aware of PHP, but I'm kind of new to WordPress. So I created this WordPress site, but there's a bunch of posts that I want them to include some PHP and JavaScript and HTML ...
0
votes
1answer
23 views

Update Specific Key Value in Complex `wp_options` object

This should b really easy but I can't find reference - easy points for someone! I have an option in my wp_options table, and need to set it via update_option(). I just can't find the correct syntax ...
1
vote
1answer
63 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 ...
1
vote
2answers
205 views

Wp-login appears White Screen, Error: Cannot modify header information

Possibly duplicate of many Question, the reason I am posting here none of them helps, here is the log which appear on Wp-login.php page. Notice: automatic_feed_links is deprecated since version 3.0! ...
1
vote
0answers
56 views

How to add custom meta box under Gallery Settings in the “Edit Gallery” popup

I am developing a theme. I want to add option for the user to choose the type of the gallery which he is adding. Will it be a slider, masonry gallery or some other type. I cannot figure it out how ...
0
votes
0answers
82 views

How to set any theme setting from a custom WP_Customize_Image_Control?

I am using the Theme Customizer API to upload a logo for a WP theme. I also want to let the user set the css for the logo size via a number input in the same Customizer section. What's the best way ...
0
votes
3answers
228 views

How can I loop into two different DIVS without repeating the DIVs

I am having a little trouble trying to figure out how I can accomplish this: I have a container with two colums in it, a right and a left column. Each column will have 3 posts with a short excerpt ...
0
votes
1answer
87 views

Translate a theme with a PO file

I'm new to WordPress. two weeks ago I downloaded a theme for my Arabic language blog, and the theme is scripted in English but it contains a folder called languages/ and inside it has two files one is ...
4
votes
1answer
91 views

Is having multiple theme customizers for different pages possible?

If you have a theme that for instance has a blog, front page and misc pages is it possible to have more than one theme customizer, so that you can provide a live preview when editing styles? My theme ...
0
votes
1answer
800 views

Using Foundation 5 off-canvas-menu with Wordpress

I am trying to integrate Zurb Foundation 5 into a Wordpress theme. I can get it working fine but I'm puzzled by a seeming issue which make it unworkable in Wordpress. Please see this code for making ...
0
votes
1answer
258 views

Broken theme, template is missing

I'm beginning to learn theme creation, so I have created a very simple theme : my_theme css style.css images logo.png index.php But in wordpress, it appears as a broken ...
0
votes
1answer
27 views

All pages are the same

I have a strange problem in my wordpress website. My configuration: WordPress 3.7.1 Custom template 3 Custom post types The problem (front-end) all the page are the same (a cpt post) all ...
0
votes
0answers
127 views

Adding Custom Product Attribute and Variable in WooCommerce Programatically

Can you please let me know how I can add Custom Product Attribute and Variable in WooCommerce Programatically? I know this easy to be done in Woocommerce GUI but I need to do this through ...
0
votes
1answer
41 views

Should I create multiple sidebars, or use or one dynamic sidebar with logic to determine it's abilities?

I am wondering what the standard procedure for Sidebars in WordPress. My theme needs to have 3 different types of sidebars, to be used on three different pages. I am wondering if I should create a ...
1
vote
1answer
56 views

Setting a Default 'Theme Location' When Creating a Menu

I'm trying to create a theme which when activated, sets up a primary navigation, adds the homepage to it and then enables it in the correct location. Here's what I've got so far: ...
4
votes
5answers
224 views

Remove settings if theme is deleted?

Is it possible to perform an action only if the theme is deleted (not deactivated) from the theme directory ? For example, I want to remove the theme settings from database after the theme is ...
0
votes
1answer
34 views

tag__in does not return posts

I want to get a custom post type posts with the same tags. Here's what I'm trying: $tags = get_the_terms( $post->ID, 'item-tags' ); //returns tags array correctly if ($tags) { $tag_ids = ...
0
votes
2answers
64 views

How can I assign separate stylesheets to different pages?

I am trying to figure out how to assign a seperate stylesheet for different pages? I wan't to use the same stylesheet for my front page, and page template and a different stylesheet for my blog and ...
0
votes
1answer
47 views

Need advice on theme customizer and child themes

I have been working on a theme, initially it only had one design and I made almost all of the front page elements customizable through the theme customizer. Now I would like to offer a few variations ...
-3
votes
1answer
48 views

Need some hints for my own WP theme development

After taking some online tutorials I am willing to create my own custom theme for my myself. This is going to be an online Contact Lense store! So far I have learned how to generate and use Custom ...
2
votes
1answer
76 views

register_theme_directory somehow “fails” when folder is outside of WP-Folder

This is a simple skeleton for WordPress, that makes it possible to have just "themes" and "plugins" under version control: https://github.com/sourcerer-mike/WordPress-GIT-Skeleton When doing ...
0
votes
0answers
8 views

Include Seed Content in a Theme installation

Is there a way to include standard content in a theme? I want to set certain pages for all installations of a starter theme I made for a client (they use it over and over for similar websites)
0
votes
1answer
51 views

Category base 404 - fix

I have seen the problem before when hacking in WordPress When trying to access the www.example.com/category/ I get a 404-page displayed. Is there a way to display something useful such as a page ...
1
vote
1answer
73 views

Should I use function_exists() and/or add_action() in theme development?

I'm trying to get my theme ready for publication on WordPress.org I got this feedback: function_exist() it is not preferable 3.0 design Now I wonder what I'm doing wrong. In the current ...
0
votes
0answers
30 views

Main Menu Theme Different Output Print

I am currently developing a wordpress theme that has a tricky main navigation menu. The problem I am stuck with is that I am looking for a special print of the submenu. Here is the html I am trying ...
0
votes
1answer
69 views

Seeting Active Nav for Bootstrap in WordPress

OK , I have a Custom Theme generated by Bootstrap. Currently I just added a Navbar (navigation to the theme and I am having trouble on setting ACTIVE navbar in each active page.(by adding active class ...
0
votes
1answer
39 views

How to Grab first Image from some Chosen Categories

So here is the scenario. I have to build my client side and he want to grab some categories to display on his homepage with its thumb. So my route is, just find the first post of that categories and ...
0
votes
1answer
30 views

How to make sure relative URL works when site is not on root domain?

I just tried installing my theme on another WP install that lies in a subdirectory of the domain. I never really thought too hard about subdirectories, but it does happen so I know I need to change ...
0
votes
2answers
146 views

How to Add a .js file Only in one specific Page Dynamically to Head

I need to add some scrips for Google Maps only in my contact page and I do not want to populate it on all pages. I am not willing to create a custom header as well so I was thinking is there any way ...
1
vote
0answers
67 views

Need help setting default setting value for radio button in theme customizer

I need help figuring out how the radio button saves it's value in the theme settings. In my theme I added Radio buttons in the theme customizer. So far they are working great. Although I have one ...
0
votes
0answers
40 views

Meta Box Not Showing up in The Admin Page

Using WordPress 3.7.1 and PHP 5.4.12 I am trying to add a Meta box - text field to my Custom Post Type. My custom Post Type name is "news" and this is my code: <?php /* Custom Meta Boxex */ ...
0
votes
1answer
138 views

“Theme without sidebar.php is deprecated”

I'm building a custom wordpress theme. When I turn on debug, I get this message: Notice: Theme without sidebar.php is deprecated since version 3.0 with no alternative available. Please include a ...
0
votes
2answers
31 views

Wordpress page/blog incorporated into static website

Currently, I have a static website. I wanted to know how I could go about replacing one of the static pages with a WordPress page that will function as the websites blog? I know how to create a ...