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

learn more… | top users | synonyms

0
votes
0answers
3 views

Styling Elements

I want to create a theme for a standard non-blog website. How best can I create a template-page such that different elements in a page are styled differently. The users of a theme will be able to ...
0
votes
1answer
18 views

Is it possible to share WP database over Dropbox?

I'm developing WordPress themes on multiple machines right now: Windows & XAMPP, MAC + MAMP My themes are shared on Dropbox and are prefectly synced between all these machines (don't worry, ...
-1
votes
1answer
19 views

Display recent posts on front page

I am new to theme development in wordpress i am working on a theme, i have a front page on which i want to display only the most recent 4 posts of any category to be displayed my code for this is ...
-2
votes
1answer
46 views

Trouble with conditional tags

I've got some code I want to run on every page other than the blog page and the archive page. If I use <?php if ( !is_home() ) { ?> The code correctly doesn't show on the blog page. If I ...
-1
votes
2answers
20 views

Creating a site with hidden contents [on hold]

I would like to create a site where the only thing you see on the page is the login panel, after logging in , users will be see what has been priviledged to them i.e on can be admin, one can be only ...
0
votes
1answer
19 views

Don't load the theme for a page FROM a plugin EDITED

I'm developing a pseudo admin area for my client and they don't want the theme overlaid on it, rather have their admin area take up 100% of the page. Normally I would add if (!is_page($id)) and be ...
1
vote
4answers
52 views

current_user_can not always working properly

I have a custom Wordpress theme that includes a members only section. In order to implement this, I have the following code at the top of my restricted pages. <?php if ( ! current_user_can ...
0
votes
2answers
26 views

GrandParent ,Parent, Child issue

I have the following GrandParent -Parent01 --Child -Parent02 --Child --Child -Parent03 --Child I wish to find a solution that when Im on the Grandparent page, that it will only return the parents ...
0
votes
2answers
58 views

WP_Query issues with argument posts_per_page

I have a query that displays the names of donors as well as a dedication. It displays using a date meta query. $args = array( 'post_type' => 'donors', 'order_by' => 'id', 'order' => ...
0
votes
1answer
39 views

How can I optimize this code? [closed]

I have an Advanced Custom Fields Checkbox that I'd that I need to do some checks on. If a checkbox is ticked in the back end, it outputs an appropriate image on the front end. I've got some code that ...
0
votes
1answer
42 views

WordPress 3.9 two menus in same position?

I have a new WordPress theme and I want to add extra menu, but as WordPress 3.9 allows only one menu to add in one position/places in theme? How can I add two menus in one position? I purchased the ...
0
votes
1answer
30 views

Wordpress Footer Widget Processing

I made a sidebar in wordpress and have widgets in it, I want to process them one by one so that I can set their locations in theme according to me. Example: If I have a 3 widget in my footer ...
0
votes
1answer
45 views

Passing postid of Testimonial Custom Post in Shortcode Parameter

I am trying to create Testimonial custom post and display using shortcode function create_post_type() { register_post_type( 'testimonials',//new post type array( ...
0
votes
0answers
16 views

Can one get decent salary by being Wordpress coder?I mean Plugin/theme developer [closed]

I dont know why and how but I heard Wordpress developers dont earn well . Is this true? Am i in danger of earning far less,and be a Poor(in econimal way) person/coder? Thanks
0
votes
3answers
45 views

Exclude posts from homepage having a specified tag

I am pretty new in WordPress development and I am trying to implement this custom theme that handle the so called featured posts As you can see in the posts area of the homepage I have the Articoli ...
0
votes
2answers
43 views

What it means <link rel=“profile” href=“http://gmpg.org/xfn/11”> is it support HTML 5 or not?

While doing the integrate HTML for my new WordPress Theme , I stumbled across a new meta tag <link rel="profile" href="http://gmpg.org/xfn/11"> what it means or is it necessary to mention and ...
0
votes
1answer
29 views

Image load issue with custom page template on Internet Explorer

I have created a website http://demo.tennis-florida.com/ and it is using custom theme that I built when I am opening this on Internet explorer. Images in custom post grid are not showing up ...
0
votes
0answers
19 views

Find relative post number in single post page

My problem: I need to find the relative post number (e.g 3rd of 10 posts) within a category. I can get the total amount of posts (10), like so: $category = get_the_category(); ...
1
vote
0answers
10 views

Theme unit test data Foreign fonts come in garbled on my machine

Having just tried out the Theme Unit Test Data from the WordPress.org Codex, I noticed that some of the body text doesn't import properly on my set up which is a Mac running Mavericks. The effect is ...
0
votes
2answers
72 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
0answers
10 views

Why this Wordpress page.php file contain the posts loop? [duplicate]

I am pretty new in WordPress theme development and I have the following question about the page.php page contained into templates files (the file that describe the template for the static pages) I am ...
0
votes
2answers
27 views

Why in the static pages of my theme are showing these information?

I am working on a WordPress theme and I have some problem with the pages\posts layout. For example if you go here: http://lnx.asper-eritrea.com/lassociazione/ This is a static page that show some ...
0
votes
0answers
36 views

using theme check plugin to remove waring and errors from my theme

i have solve the most of issue now only the followings issue reaming. 1.the most important WARNING: curl_init was found in the file twitteroauth.php File operations should use the WP_Filesystem ...
0
votes
1answer
21 views

Removed jQuery script from header.php , any problems?

To avoid multiple jQuery calling from my theme and plugins, I removed <script language="javascript" type="text/javascript" src="<?php bloginfo('template_url'); ...
0
votes
1answer
31 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 ...
0
votes
0answers
23 views

WordPress HTML Menu

I'm trying to get the menu on my WordPress site to append the class like so: <ul class="nav navbar-nav navbar-right"> <li><a href="/">Home</a></li> <li ...
0
votes
1answer
20 views

Setting conditional background image from meta value

I am trying to set background image from meta value.I am successful also.But if the meta image is not set the out put <div id="pricing" style="background: url('')"></div> But I do not ...
3
votes
1answer
101 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
35 views

How do I update WooCommerce template files in my theme? [closed]

WordPress beginner here - my site seems to have some outdated template files which I think are the cause of some functionality issues the site is experiencing. Particularly, there are bundled ...
0
votes
0answers
67 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
18 views

paragraph format in WYSIWYG on a custom theme?

How can i present the same content/paragraph format on my WYSIWYG on my custom wordpress theme? i never put much thought on how my content shall be presented while im busy doing all the site overall ...
0
votes
0answers
26 views

Custom widget not appearing on front end

I have the following widget location defined in my theme's functions.php: register_sidebar( array( 'name' => __( 'Opening Hours', 'transparent' ), 'id' => 'sidebar-hours', ...
0
votes
1answer
13 views

unable to display the image meta value as background

I want to use meta url as background image.But the fact that I do not want to show "background-image:url('_')" this way because if my meta value is empty.What I thought to end up in this way. ...
0
votes
2answers
34 views

How to add multiple images to a custom post type single post?

I have created a custom post type and I need to add multiple images to every single post, so I can create a loop and use them in a slider. So far my search on Google etc. has turned up nothing. ...
2
votes
2answers
46 views

Translation-readiness of Koi theme

I am migrating a (non-English-language) blog using the Koi theme on WordPress.com to a self-hosted environment, but see that certain strings are no longer being translated. For example, if my ...
0
votes
0answers
14 views

menu hierarchy not working

I have created a theme from scratch and was using a custom menu with no problem. Somehow, I lost the ability to create a hierarchy in the menu -- all menu items show up at the same level. I have ...
4
votes
1answer
62 views

Display admin notice only on main dashboard page

I'm using following code to display a notification in the admin dashboard. I want to display only on the main dashboard page (index.php), however the following code would display on all pages in the ...
0
votes
0answers
29 views

editor style css and page template with and without sidebar

I have two page templates in my custom theme. Full width template and Default template. Full width template does not have side bar and is of width 980px. While default template is having sidebar on ...
0
votes
0answers
20 views

Conditional loop based on current page

I'm trying to get the loop below to display only the post with the category that reflects the given condition but it doesn't seem to work. Any Ideas on how this can be achieved? <?php if ...
0
votes
1answer
18 views

Search page results conflicting logic - Search result caching?

I recently stylized my search page results from the base template _S, and got everything to work quite nicely. I've developed it to return false/positive header/body. It should only return a positive ...
1
vote
2answers
62 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
2answers
34 views

Problem dynamically generating an all purpose title tag

The code (below) works fine on all pages but front-page.php in WordPress. Specifically, it adds an extra pipe symbol to the beginning of the title tag. For example, if the following is the homepage ...
1
vote
3answers
46 views

Show excerpt for only first post in query

I'd like to only show the excerpt for the first post in my main query. I was wondering the best way to approach this. What I have tried so far is: Making a custom homepage and using two queries, ...
-2
votes
1answer
23 views

how to move a widget from theme 1 to theme 2?

I bought two themes for two websites but now I can't buy the domain name and host for both and decided to run just one web I try my two theme 1-metro mag 2-Glider I decided to run Glider at least but ...
0
votes
1answer
42 views

Custom Wordpress Theme: Publish Date and Display Date for posts right beside each other

What's currently happening is that for posts that have an 'update' time, the original publish and editor dates are rendering side by side (with no extra information in between, or even a space for ...
1
vote
2answers
53 views

Guidance with The Loop for CMS

Maybe I'm going about this the wrong way but this is my scenario... I would like to use WordPress as a CMS rather than a blogging platform. I have a website that will have somewhere between 25-50 ...
0
votes
1answer
22 views

How to Emulate Default Navigation Menu Behaviour in a Custom Theme?

I'm trying my hand at developing a custom theme, and I've got navigation menus working (with the help of this walker, but only if they're explicitly defined in the menu settings. The default themes ...
0
votes
0answers
39 views

Lessphp auto-compiling issue in WordPress

I'm using Lessphp to auto compile my style. After reading the document ( http://leafo.net/lessphp/docs/#compiling_automatically ) and some research, I got this code: function autoCompileLess() { // ...
0
votes
3answers
36 views

How can I see what template parts are being called for rendering the viewable page?

I have a theme where the developer used get_tempalate_part() a lot, and these parts are scattered across theme subdirectories as well as in directories in a plugin that was created to assist with the ...
1
vote
2answers
48 views

Apply different Class for each element in a foreach()

sorry for the silly question, but I am really lost. I want to apply the following CSS to the even elements of my foreach. CSS .blogArticles a { float: left; max-width: 250px; width: 25%; ...