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

learn more… | top users | synonyms

1
vote
2answers
8k views

How to display value of custom fields in page

I have a custom post type called 'software', contained within are various custom fields such as subtitle, price, screenshots, download link, etc. I created a function to allow use of the tinyMCE edit ...
2
votes
3answers
743 views

Add custom field to existing meta box?

First off, I have been able to successfully implement custom fields within a custom meta box in Wordpress. I understand how this works. My question is, is there a way for me to add a custom field to ...
0
votes
0answers
13 views

Sticky Posts cause problem with pagination

I'm using following function to display the pagination. This works otherwise fine but if there is any sticky post, then it ignores the number of posts on the first page. For example if it is set to ...
0
votes
1answer
14 views

Types Plugin - Display options(select) in template

I have created a custom "select field" in admin panel using types plugin. Is it possible to get the values and use it somewhere outside the plugin(in theme or in another plugin)? I like to update the ...
2
votes
1answer
41 views

Is it safe to enqueue a font style without putting http or https?

I have seen a few WordPress sites and tutorials enqueuing fonts like this. Does this work with http and https sites? Is it safe to do this? I see these exact URL's in the source code when testing ...
0
votes
1answer
369 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( ...
2
votes
4answers
5k views

How to remove “prev, next, shortlink” from wp_head()?

I'm using these filters to clean the head of my theme: remove_action('wp_head', 'wp_generator'); remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'feed_links', 2); ...
0
votes
1answer
31 views

Onepage with shortcodes

i build a onepage wordpress theme , and for showing all my pages in one page i use a loop , but shortcodes don't work (Ex : contact form 7 : the form is showing but don't work at all) this is my code ...
0
votes
0answers
11 views

Practices to Avoid Plugin & Theme Conflicts

I am developing a WordPress Plugin and it includes the javascript library Require.js. This is causing a conflict with my theme. How can I avoid my plugin javascript affecting other plugins and ...
0
votes
1answer
29 views

Theme CSS background-image keeps throwing 404

I have a Wordpress site I am developing with the Sage starter theme. I have set a static home page, and added a new div to that page that is going to act as my stage. I would like to add a ...
0
votes
0answers
20 views

Prediction of required workflow? [on hold]

I wish to develop a website that is very similar to this one : https://buysellads.com I am not very experienced with web development/design, and would like to hire a freelancer for this task. I would ...
0
votes
1answer
612 views

Wrong path for theme assets

I'm working on a WordPress project, starting from Mark Jaquith's WordPress-Skeleton repository, using MAMP. I cloned the repo, updated the WordPress submodule, created a database and updated the ...
0
votes
0answers
19 views

Default header image does not display

Clarification: My default header image will not RE-display (by clicking suggested image) after it has been removed using theme customizer "Hide Image" option. I added theme support for Custom Header ...
1
vote
0answers
19 views

Automatic Theme & Plugin Updater for Self-Hosted Themes/Plugins

I trying to update my theme with this plugin: https://github.com/jeremyclark13/automatic-theme-plugin-update In my style.css I have Version: 1.0. In update.php I set $api_url to ...
0
votes
1answer
790 views

Custom theme won't use search.php

I have a custom searchform.php and search.php in my theme. However, when searching for something all I see is the front page (with mysite.com/?s=something in the adressbar). I use a filter to make ...
0
votes
1answer
583 views

How to make Isotope and Wordpress work together?

I am trying to make my Wordpress theme using Isotope plugin. http://isotope.metafizzy.co/ So far, I have such a result after doing that was suggested: I believe that Isotope Masonry should not ...
8
votes
3answers
8k views

Display Menu Name using wp_nav_menu

I have a custom menu that I can call just fine using wp_nav_menu. Is there a way to have the menu name displayed inside an h3 tag before the menu? Ex. <h3>My Menu Name</h3> <nav> ...
-2
votes
0answers
18 views

why text on sidebar can not be visible clearly [closed]

I am converting HTML template to wordpress theme.But text in black box on sidebar can not be visible clearly.
0
votes
0answers
17 views

WordPress Ajax Spitting out a page as a response?

So I have attempted to create a class to contain the ajax based functions and what not, in PHP and then call that through the functions.php and then use javascript to make calls back. But I am so ...
2
votes
2answers
2k views

Get category slug and display it on a query_post

I just read "How to create option page for wordpress theme" in wp.tutsplus.com - I have a problem with getting categories . there is two parts to my question - Part A - Get category slug and ...
0
votes
1answer
19 views

How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme?

I have to create a child theme to implement some changes to a WordPress theme and avoid that these changes are lost when the theme will be update. So I have some doubt about how do it. I am ...
0
votes
2answers
39 views

What is the correct way to include my new functions and scripts in WordPress?

To include new functions we can write them in the theme's functions.php. But I have to write my own functions in a new file rather altering the theme's function.php. I can write any custom js action ...
0
votes
1answer
24 views

multiple html/css files for wordpress theme?

Ok so I am teaching myself how to code wordpress themes from scratch. I am using c9.io as an editor. I had a question. I have been looking at different tutorials at the template files they use, and ...
0
votes
0answers
17 views

Using Customizer value in an external PHP file inside a theme

I'm working on a theme for a company and they don't want the users to touch the code at all. So as I love, they asked me to use Customizer API. Now, there's a PHP file in the theme which we don't ...
0
votes
0answers
22 views

Different wordpress menu showing in frontpage and blog page

When I select "Your latest posts" from "Front page displays" I want to show a custom menu which will show in blog,single,page and archive page. But when I select a static front page than it will show ...
0
votes
0answers
11 views

How to make a local cache of mshots images

I am using the Wordpress mshots api to generate automatic thumbnails of websites from the site url. I am using a customfield to capture the website url and pass the value to the mshots url to return ...
0
votes
0answers
5 views

Have pre defined menus when developing a theme

I am trying to develop a theme with customizable menus, like a header with menu options and footer with menu options. In my theme menu page right now, in "Select a menu to edit" there are only 2 ...
0
votes
1answer
152 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
1answer
91 views

How to show a manageable list of images on a post?

I've created a custom post type called product. On my theme's product page, I want to be able to show a basic list of images (ul>li>a>img) on a sidebar like this (quickly googled :P): I ...
1
vote
2answers
366 views

How can I remove specific custom post meta from the “Custom Fields” fieldset?

I've created a custom meta box to handle certain custom post meta fields and I don't want the clutter of having these custom fields duplicated down in the "Custom Fields" area. How can I remove ...
0
votes
2answers
814 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( ...
-1
votes
0answers
15 views

How to avoid to lose my theme customization when the theme will be update? [duplicate]

I have the following problem. I have to modify a JQuery function into a file named custom.js into the theme that I am using for my website. I have no problem to implement my customization to the ...
0
votes
2answers
28 views

Reliable method to detect mobiles

I'm running a WordPress site and wanna setup a mobile site based on it. I've tried some plugins like Mobile Themes which allows me to implement a different theme for mobile. The problem is when I ...
0
votes
1answer
373 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 ...
2
votes
1answer
4k views

Debugging an error: wp_enqueue_style was called incorrectly

I've just uploaded a new, custom theme to find that the container is a fraction of the intended width, and the sections below the home section(this is one single page, long site utilizing ids/anchors ...
0
votes
1answer
405 views

Add content after get_header

I'd like to add content directly after the div#main (end of header.php) and before /div#main (beginning of footer.php). I'm using an own child-template (of twentythirteen), that contains only ...
0
votes
0answers
25 views

get_the_excerpt() removes all p tags in page!

I have written some shortcode to be able to place the latest post excerpt anywhere on the page, but I got a problem that I have trying to solve for days now! And I can't find the reason why the ...
0
votes
0answers
14 views

Where to find this image to remove the broken link in wordpress

I have a broken link on one of my page and I am unable to find where to go to find this image and remove the broken link. Please help me out. Here is the link- ...
0
votes
0answers
25 views

Designing custom templates and managing conent

I am web developer with little wordpress experience. What I am trying to do is develop and style a website to my liking using pure html and css and then use wordpress to allow the end users to edit ...
0
votes
1answer
17 views

Where to find this broken link in order to remove it

I have many broken links of this type - http://isngs.com/wp-content/plugins/merobuilder/so-widgets-bundle/widgets/so-services-widget/css/fonts/service-background.eot?-7p8gp3 Please tell me how can i ...
0
votes
1answer
1k views

How do I implement jPanelMenu?

I have serious problems trying to implement jPanelMenu to the theme I'm building. The theme is nearly finished, I'm just trying to figure out this menu and I can finally start using it. Anyways, if ...
0
votes
2answers
681 views

Custom Post Type Permalink Page Not Found

I've been wasting hours and hours trying to solve a permalink issue with custom post types. It keeps returning page not found (404). When I use the default permalinks, it works, but when I switch to ...
0
votes
0answers
17 views

Backslashes being stripped from CSS

The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet. For example: content="\foo" becomes: ...
0
votes
0answers
15 views

Instead lightbox image links to file directory

I have created my own template using http://html5blank.com/ wordpress theme blank and also installed a Foogallery plugin and free lightbox. Problem is that after pressing image it's taking me to image ...
-1
votes
0answers
35 views

woocommerce product addons add to cart via ajax [on hold]

I am using woocommerce product addons plugin from woothemes http://www.woothemes.com/products/product-add-ons/, my website has just archive pages means no single product page, the addons are ...
1
vote
2answers
587 views

Child theme CSS file is not loading background image

Hey guys I'm developing a child theme, I've created a style wich loads a background, I've created the images folder in my child theme as well. most of the styles are being loaded as planned, this one ...
-4
votes
0answers
14 views

How to change the style.css default position? [closed]

How do I change the default position of style.css? I have saw someone said that use a add_filter to make it work, but I use the code add to function.php, but it doesn't work, the code show in the head ...
0
votes
0answers
19 views

Custom theme and plugin updating

History: I'm working on a project for a client that involves building 27 unique websites that are built on wordpress. I say unique, because (for reasons that are not worth going into here) they ...
10
votes
6answers
6k views

How to create .pot files with POedit?

I've spent hours today on what seemed like something really simple, which is to create a .pot file for a Wordpress theme that I'm creating. I've read the Smashing Magazine article, the Tutsplus ...
-1
votes
0answers
28 views

How save is _s (underscores) for designing/developing a theme for the market? [duplicate]

I am using _s for my theme right now and I'm just wondering if there is a any issue on anything like security, seo, load issue... etc. I s there any better solution/ ways for developing themes.