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

Link a lightbox thumbnail to a post instead of opening the lightbox

On my website portfolio I use a heavily modified version of the Swatch theme from Woo Themes. The theme makes the thumbnails for my portfolio pieces link to the lightbox. I want the thumbnails to ...
0
votes
1answer
35 views

Why do WordPress developers use so many opening and closing PHP tags when developing themes? [duplicate]

This is a code set I copied from Twentyeleven theme. <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> ...
0
votes
2answers
860 views

WP admin bar only on some pages

I am trying to create my first wp theme. So far it has been quite nice experience, but now i have a problem that i don't quite understand. The Admin bar is showing only on some of my pages, on the ...
0
votes
1answer
35 views

Specify a particular page to list all custom types

In WordPress I can specify which page is used as my home page and which page will list all my posts. I have created a Custom Post Type called 'Property'. I know I can access all of the posts with the ...
0
votes
2answers
26 views

How to override menu markup?

I am trying to override wp menu markup and add additional div around each sub-menu ul. Something like this <ul> <li><a>Coffee</li> <li><a>Tea</a> ...
0
votes
1answer
24 views

A thin line between native wordpress bahaviour and 3rd party themes

Bear with me as i try to learn WP. Lets say we have a 3rd party theme were the route of the request is somehow like this. Root theme index.php diverts to a nother php file which decides what page to ...
0
votes
1answer
352 views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
0
votes
2answers
429 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
179 views

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

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. ...
0
votes
2answers
34 views

How to add custom page elements to the WYSIWYG editor?

On a plugin-less Worpress installation the WYSIWYG editor allows to write a page down from top to bottom with style buttons (lists, font, italics, bold, add picture ...). What I am missing is the ...
0
votes
1answer
20 views

How do I understand which page of my theme is being loaded?

Inside my theme there are tons of pages: page-nosidebar.php pages.php content.php How can I track which is actually loaded?
0
votes
0answers
17 views

Widget configuration inside theme

I need to change my theme on the fly (for mobile version I have a different appearance), but widgets are not saving correctly. I tried to configure widgets from the theme, but this method doesn't ...
7
votes
2answers
936 views

How to move the sidebar in TwentyFifteen to the right?

Is it possible to move the sidebar in the TwentyFifteen theme to the right using a child theme and CSS only, or does it require changes to the theme itself? The main issue I'm running into is that I ...
-2
votes
1answer
45 views

Why is my container argument not working for wp_nav_menu() [closed]

The following code outputs a menu but the container <nav> tag is missing. $menu_settings = array( 'menu' => 'Packages', 'container' => 'nav', 'container_class' => '', ...
1
vote
0answers
31 views

Adding custom input field in menu backend [duplicate]

How can I add the custom content in the menu items in the back-end. For example I want to add another input field and save it. I could not find any information in the Codex.
0
votes
1answer
16 views

Permission error in wordpress

I am completely new to wordpress. I just installed it and wanted to change the theme of my website and I get following error: Installing Theme: Klasik 0.7.5 Downloading install package from ...
0
votes
2answers
29 views

Accidentally deleted php code in Wordpress website [closed]

I have a website: www.convert2latex.com . While trying to remove the "continue reading", I accidentally deleted some code and updated it in the theme editor's functions.php. Now the website does not ...
0
votes
0answers
13 views

No Styles Working on Wp-Signup.php [MU]

I'm not sure why, and it's kind of putting me off getting into theme development, but I can't seem to work out how to customise wp-signup.php? I have looked everywhere on the internet but I can't find ...
0
votes
1answer
35 views

Advantages of wordpress theme vs wordpress as a backend only

I've been wondering what would be the best option: Creating a wordpress theme Using wordpress only as backend and using a MVC framework for the rest I've never worked with wordpress themes ...
1
vote
0answers
54 views

Theme Inspector “X-Ray”

I looked around and sadly didn't find anything answering this, and I'm almost 100% sure that it doesn't exist but I figured I'd ask this active community. I work in a Rails environment as a Front-End ...
1
vote
1answer
35 views

Parallax WordPress theme without hardcoding - possible?

I want to develop my first Parallax WordPress theme, just for the fun of learning this stuff. I found this snippet: http://jsfiddle.net/cse_tushar/Dxtyu/141/ It lets the user click on a menu item ...
1
vote
1answer
490 views

Page has a parent and $post->post_parent returns 0

I have several pages with a parent. So, $post->post_parent should be different than 0, right? echo $post->post_parent; Is returning 0. Thing is, this is only happening in one post category. ...
0
votes
0answers
12 views

Custom Images - Creating Larger Versions

Playing around with the add_image_size for my theme, it works a treat for large images, crops them nicely, however if someone uploads a tiny image, I'm trying to make the size increase or at least ...
-1
votes
1answer
26 views

Why am I getting posts back when I shouldnt

I have the the following variables being populated: $posts = wp_get_recent_posts(array ( 'numberposts' => 4, 'post_status' => 'publish' )); $categoryPosts = wp_get_recent_posts(array ( ...
0
votes
1answer
309 views

Widget Option is Missing

My Widget Option is missing in the Dashboard area. How can i make that appear? I have downloaded this Blank Theme from Chris Coyiers site. sidebar.php <?php /** * @package WordPress * ...
1
vote
1answer
17 views

Can I install a theme on only one site of a multi-site network install?

I'd like to install a theme on only one site of a multi-site network install. Is there a way to do that?
0
votes
1answer
16 views

Create a Page template selector page

I'm running around with an idea in my head that I would like to make but I don't really know how or where to start. In a custom theme I had to make serveral templates for one of my clients. I ...
0
votes
1answer
20 views

Can you create a custom page with content in the center already defined?

Is this possible? So for example, you select from the templates a page called "custom-blog-home" and on this page in the centre you have two section, one is a set of blogs being pulled in and styled ...
1
vote
0answers
24 views

Troubles with Walker_Nav_Menu and closing <ul>

I have an existing site that I am moving into Wordpress. My requirements state that I do not have the ability to change the HTML or CSS. I have a sidebar menu that I am trying to recreate using a ...
0
votes
1answer
1k 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 ...
7
votes
4answers
570 views

Am I allowed to license my Wordpress theme under the aGPL

I was interested in the recent conversation about whether WordPress themes need to be licenced under the GPL or whether they can be closed source. The video can be reached from matts blog and my ...
1
vote
1answer
84 views

“Cheatin’ uh?” error message on multple theme directories

In my wp-config.php I've added another theme directory; register_theme_directory( dirname( __FILE__ ) . '\..\themes' );. I'm not sure if this is the correct place to add it. When I then try to ...
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
0answers
22 views

How to put multiple blog posts on front page?

The theme image looks like this: But my blog looks like this: How do I get my theme to have multiple blog posts on the front page instead of one image down the entire page like a blog and less ...
16
votes
3answers
6k views

Adding an Arbitrary Link to the Admin Menu?

Is there a way to add a arbitrary hyperlink to the WordPress admin menu (I mean the menu on the left when you log into the admin dashboard)? For example, can one add a link to Google? In my ...
0
votes
0answers
61 views

Child theme - Overriding 'require_once' in functions.php

I am attempting to modify a wordpress theme with a child theme. My parent theme has the following function in its functions.php: require_once(get_template_directory() . "/includes/theme-styles.php"); ...
0
votes
0answers
14 views

How to get that “header rollover” effect in a page?

Some modern websites, when you scroll down from the top, the text will slide up over the header, leaving only the title and navigational tools. What is that "roll over" effect called and how is it ...
0
votes
1answer
55 views

Use random theme

I am thinking about random theme from 2-3 selected themes, which is shown for new user and saved to cookies or ip, to not show other theme for him again. Just show random themes for new users, so I ...
0
votes
1answer
24 views

How to retrieve images attached to post through media library?

I have been struggling to retrieve image attachments to specific post without success until I found that images inserted into the post via media library are not treated as attachments. That is, you ...
0
votes
0answers
46 views

jQuery Error wp-admin/nav-menus.php?action=locations

I have an error with wp-admin/nav-menus.php?action=locations no matter what page i am on i will get the following error inside the google chrome console. Uncaught Error: Syntax error, unrecognized ...
2
votes
3answers
130 views

WordPress as Backend, Laravel Front End: How to connect Routes?

I am going design a site and I though about using wordpress for it as the clients want to be able to edit the content and they are not very up to date with the latest technologies, so I though that as ...
0
votes
0answers
38 views

How To Make Wp Dynamic Sidebar Like twentytwelve Theme

im new in wordpress and trying to create wordpess theme which can be used in any wordpress blog ,im following twentytwelve Theme as my theme example but when i try to create sidebar it does not work ...
0
votes
0answers
11 views

WXR error in XML import attempt

I am desperately trying to import my .XML file from my local development database onto my real site. I am getting a Sorry, there has been an error. This does not appear to be a WXR file, ...
1
vote
2answers
11k views

Display a specific dynamic sidebar widgets on a specific page

I have had a wordpress site handed off to me halfway through completion. It's been at least a year since I last used wordpress and there are a lot of things I'm finding different. The way I am used to ...
0
votes
1answer
53 views

How to get $post object available inside functions.php to localize script?

I have a problem with a wp_localize_script in my functions.php file. I am trying to get a script localized for a custom post type ("gallery"), however, the error emerges that I am trying to access a ...
0
votes
1answer
55 views

Remove h1 from 2015 theme

I'm a Wordpress newbie! I have two h1 when I list my site categories using a URL of the following format: http://www.example.com/category/YYY I get a HTML page with a header of Category: ...
0
votes
1answer
160 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 ...
1
vote
1answer
78 views

WP Video media player not loading correct CSS after AJAX load

I have a post which uses WP [video] shortcode to display my video file. It's supposed to look like this: But it looks like this: After I click "Load More Posts" AJAX call. The video player ...
2
votes
2answers
783 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 ...
0
votes
1answer
67 views

Losing all my text and entries on ColorWay Theme

I have hosted my website on a ec2. So when the ec2 goes down and I reboot it, I need to change the dns from the old to the new dns (micro instance). Until now I was taking a manual backup of my ...