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)

1
vote
1answer
320 views

Animated gif for a thumbs

I need to insert an animated gif for a feature image but I don't understand if is possible. Right now when I try to upload a gif, wordpress create automatically a gif single frame. Is it possible ...
1
vote
2answers
429 views

variables in translatable text

I am adding a list of suggested plugins to my theme using TGM Plugin Activation - https://github.com/thomasgriffin/TGM-Plugin-Activation/ However, when I run theme check, about 40 or so ...
1
vote
1answer
2k views

Calling widget via function in themes files (hard code)

Finally I finished to write my widget, and now want to call it using function inside themes php files. My widget looks like this: function reg_custom_widget() { ...
1
vote
1answer
916 views

Custom post types and child theme

Okay, here's the deal. I am working with a child theme and I want a custom post type. What I did Added the following code the functions.php of the parent theme. add_action( 'init', ...
1
vote
1answer
178 views

Should a child theme share the same theme options row as the parent, or should it have it's own options row?

I'm developing a theme which uses the NHP Theme Options Framework to add some theme options. Naturally, the theme options framework creates a single row in the database to store the theme's options ...
1
vote
2answers
113 views

How do i structure my theme folder to avoid one huge list of files

When working with a worpress site with lots of custom post types and lots of page templates, my theme folder is looking messy. What are the accepted best practices to organise code files in WordPress? ...
1
vote
2answers
72 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 ...
1
vote
1answer
111 views

Generating the ogp tags in theme

I use to generate the ogp tags in themes I code but this commercial one is beyond my knowledge. The client want to share a page but any image option shows up. Instead of a taxonomy-name.php template ...
1
vote
3answers
210 views

Removing feeds from header using a function?

I want to remove the default RSS feed, which I can successfully do by adding this in functions.php file. remove_action( 'wp_head', 'feed_links', 2 ); However, It is important for me to use this in ...
1
vote
1answer
1k views

Add social icons in a theme through custom admin menu

Is it possible to make a theme with an option of configuring social icons with links through the custom header control panel? I googled it and found nothing that could help me, any help on that topic ...
1
vote
2answers
208 views

Select menu on browser resize

I have seen on some wordpress themes that if the browser width is less, the normal menu becomes a select menu. Can someone tell me how it is done? I know there is a plugin for that, but I want to ...
1
vote
1answer
85 views

Can i have a single wordpress site to have two themes ( one for pc other for mobiles)

I have a wordpress site say at www.demo.com, now I have two themes one which I want to use this user is acessing the site from "PC" (computer) and a another theme, which is a full fledged mobile theme ...
1
vote
1answer
574 views

What's the order of loading wordpress elements?

I currently try to make a theme for wordpress and I'm confused about lots of things. I'm not sure what's the order of loading wordpress elements, where some variables are available, where they are ...
1
vote
1answer
207 views

Load a different theme for IE less than 9

I want to load a different theme for those users who still use IE 6 - 7 - and 8 any plugin or code?
1
vote
2answers
2k views

How to add template to theme in WP

I've very new to WP and I'm trying to setup a new page which displays only a specific category through the WP admin section. I've downloaded the ACE plugin and I've managed to filter out posts with ...
1
vote
1answer
1k views

How to add pagination to my code?

I just want to ask how can I add pagination here in this code: <?php if ( get_option('webly_display_media') == 'on' ){ ?> <div id="recent-projects"> ...
1
vote
2answers
980 views

Wordpress ignoring specified template for front page. Why?

I'm using the Roots theme which with custom css. I'm using the page "Home" as the front page the page "Blog" as the blog page (in WP reading settings) I'm trying to set the front page "Home" to use ...
1
vote
1answer
146 views

Help with Wordpress Query

I'm sort of a noob when it comes to Wordpess; I've only recently started building themes and I've run into a wall. I'm trying to feature 3 different articles at the top of my site using wpquery and ...
1
vote
3answers
83 views

Is it possible to use Wordpress as an online portfolio for text content? What kind of theme would I look for?

I'm trying to build an online portfolio for a quantity of text content I've produced. I don't have to skills to design it myself or the money to pay someone, so I thought using a CMS with a free theme ...
1
vote
1answer
189 views

Wordpress themes under GPL license

On a themes site they stipulate, in the terms and conditions, that their themes inherit the GNU general public license from WordPress. I believe that this means that they can be copied and modified. ...
1
vote
1answer
150 views

Where do I find (free) fully-internationalized themes?

I'm trying to find a theme which is fully internationalized. I've perused the list of translation-ready themes in the theme gallery, but each one seems to be missing some little detail here and there. ...
1
vote
1answer
35 views

How do I tell how popular a theme is?

Guessing the answer is no, but just wondering if there's a way to tell how popular a theme is.
1
vote
1answer
178 views

Fully automated theme install and activation via a plugin

I've managed to get my "semi noob proof" site installer plugin 98% complete, but I'm having a slight issue with the theme activation. The plugin is able to copy the theme into the themes directory ...
1
vote
1answer
238 views

WP 3.1 upgrade breaks AutoFocus+ theme

I run WP for my photoblog ShutterScape using the awesome theme AutoFocus+. Recently, I upgraded to 3.1 and now, it refuses to show the featured images in the individual post pages. I am suspecting a ...
1
vote
1answer
666 views

Recommended Themes for a Developer-related Topics Blog?

(Moderator's note: Was previously titled: "What is the best theme used for a developer like me?") I'm a developer and write a blog to share my knowledge with readers. I'm looking for a theme which is ...
1
vote
3answers
979 views

How to add an RSS logo to my blogs header?

I have started a new site (here), I want to add the theme a RSS icon/logo on the top right of the theme (like in this theme). What is the best way for doing that? (PHP/CSS wise)
1
vote
2answers
1k views

Multi-level page hierarchy

Most of my WordPress sites to date have been blog content, along with a 1 or 2 level page hierarchy. I'm now looking at developing a site with the customer site map suggests that a hierarchy of 4 ...
1
vote
1answer
7k views

Adding a Template to the Page Attributes Panel for both Posts and Pages?

I would like to keep my main theme as the active theme, but allow users to select a slightly different layout via the "Page/Post Attributes" panel. Ideally, I'd like to store this layout under my main ...
1
vote
2answers
2k views

Showing post thumbnail (attachment) on the archive.php category listing

I'm seeking to customize my categories listing (archive.php) so that it shows a thumbnail image of the first image attached to each post However, apparently the archive.php file is one of those that ...
1
vote
1answer
777 views

How can I display/hide certain content based on a Theme Option field?

I'm building a Theme Options page for my theme, and I've managed to get most of it working fine. But now I'm trying to show and hide certain parts in my theme based on a simple check box. An example: ...
1
vote
2answers
224 views

Is there possibility to Customize the present theme adding sidebars

I am using a WordPress theme which has just header and footer. I would like to continue using it by changing the width and adding side bars. Could anyone help me to change the width (to fit to the ...
1
vote
1answer
62 views

How can I use a logo in the header?

I'm trying to set up a new site, using the Hemingway theme. I want to add a logo to the header. The theme editor wants me to use the admin panel to upload the logo. There are two problems with this. ...
1
vote
1answer
50 views

Prevent Wordpress installing plugins and themes via Admin

When I initially set up WP, I had entered my FTP details in the Admin so that I could add plugins and themes directly from Admin. However, I believe this compromises the website as I have found ...
1
vote
1answer
40 views

Theme licensing and permission on changing content [closed]

When using themes on a WordPress site, can I customize (I mean modify/change files) that makeup the theme? So as to remove a particular section on stock photo provided in the pages? I like certain ...
1
vote
1answer
61 views

Add more widget areas to a theme

what's the best approach to add more widget areas to a theme? currently, my theme has 2 columns that display the widgets, but I'd like to extend it to 4 for example. It currently looks like this: ...
1
vote
1answer
403 views

Problem only while using require_once() within functions.php

I use add_theme_page() within my child theme's functions.php implemented something like this... // other functions located here that create a custom options page in the Dashboard. // THIS IS NOT A ...
1
vote
2answers
48 views

What are the things that will be affected in case there is some wordpress updates or theme updates?

I amm getting into my head what this child theme is. I have just read it on the internet, and wondering if I do really need to study it or no need. I don't know any coding and stuffs. I don't have ...
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(); ...
1
vote
2answers
25 views

Can we create a child theme for a premium child theme built on Genesis framework?

I have a child theme from Genesis framework. How can I create a child theme of it. Actually I need to do some changes, so if I'm changing in my child theme, then if any future updates comes I can not ...
1
vote
1answer
69 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: ...
1
vote
1answer
901 views

Image Attachment Url Rewrite

I'm having an issue with url rewriting for a theme I'm making, which is basically a gallery theme based on the roots theme. Here's how the site navigation works: Home Page (With Tiled Image Gallery) ...
1
vote
1answer
38 views

Can I obtain differents links for different installed theme?

I have to show 3 differents template to a person and then say to him: "Please, choose one of these templates and I will use it for your web site" So the question is: Have I to install 3 differents WP ...
1
vote
1answer
169 views

Get term name and term parent into custom post type permalink

That i would like (for taxonomy page): Current URL : myurl.com/commerce/artisans/boucherie/ What i try to do URL :myurl.com/commerce/artisans/alimentation/boucherie/ Alimentation is the parent of ...
1
vote
1answer
51 views

Theme settings default, strange behavior before first save

I was building a theme options page with the settings API. I use an ajax call to compute some settings automatically from other pages / tabs. I noticed that all of the new settings default ("std") ...
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 ...
1
vote
1answer
175 views

How to read individual user's directory and display content to that specific user?

I am creating a photo plugin for users to view their photos. The plugin works in a way that when I add a new user, a directory is created in the uploads folder inside wp-content with the user's ...
1
vote
2answers
194 views

Style the archives/category sidebar widget via theme

I would like to change the appearance of the categories and archives widgets in the sidebar such that each category/month alternates the row color. The only way I know how to accomplish this requires ...
1
vote
1answer
430 views

Add transparency to wordpress color picker?

Question: How could you add a few transparency options (none, semi-transparent and solid) to the chosen color in the wp color picker? I'm working on a set of theme options. I am using the wp color ...
1
vote
1answer
474 views

Combining wordpress themes

Is there any way to combine two Wordpress themes without using a plug-in that renders pages in different themes, and if there is, what is the most efficient way to do so? Is it as simple as copying ...
1
vote
1answer
105 views

Is that worth it to find a designer for creating a WordPress theme for selling on ThemeForest? [closed]

I am skilled enough in WordPress and frontend development - CSS3/HTML5/JS. But I am not sure I can get approved quickly by ThemeForest team from design point of view. So I am wondering, do you think ...