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
0answers
18 views

how do config PHPCHART Script For wordpress theme

i have a wordpress theme that i want use PHPChart in some page ... first step of using PHPChart is confige file 'conf.php' , i tried very much , but i cant do it Imagine that you have the correct ...
0
votes
0answers
41 views

Load CSS files in header of Bones theme?

I'm using the Bones theme, and I'm trying to turn jQuery plugins into WordPress plugins. In the init.php file for the 'Chosen' plugin I'm converting, I've included this code: function chosen(){ ...
0
votes
1answer
108 views

'Bones' theme: Load stock scripts in footer instead of header?

I'm using the 'Bones' theme in my latest WordPress site, and when I run the site through Google PageSpeed, I receive the following error: Eliminate render-blocking JavaScript and CSS in ...
0
votes
0answers
6 views

Export links of custom created admin page

All right so i have created a page in the wordpress admin called Theme Options.When i export my files the links of these pages are not exported.I want the links that i have included in this page to be ...
0
votes
1answer
32 views

How to correctly load a different version of main menu based on the user language in WordPress? Is it a good solution?

I have the following problem developing a WordPress theme and I am here to ask you if this solution could be a good solution or if exist some better way to do. I have a custom WP theme and into this ...
0
votes
0answers
21 views

Minify style.php in head of index.php

I currently have a WordPress theme options page. I read all the theme options styles in style.php which I then include in the head of my website. Does anyone know how to minify this style.php file? ...
0
votes
0answers
30 views

How to make shortcodes parse in two different themes

I've got a mobile and a desktop theme for my website , but the shortcodes in my desktop theme are a lot more functional than the ones in my mobile theme, I use only the shortcodes in my desktop theme, ...
0
votes
1answer
15 views

linking to an svg through comments_popup_link

I want to remove the text in the comment section and replace it with svg which falls back to png. This is my code so far <?php comments_popup_link('<object type="image/svg+xml" ...
0
votes
1answer
51 views

Latest Posts not in the right order

I have changed my website's homepage to show only latest posts on the home page by going to settings > reading and using the "Latest Posts" option, but I just can't get things to work properly. On ...
0
votes
2answers
24 views

adding a unique page to an existing site

i'm a wp newbie working with an existing site. i've been asked to add a unique page to the site and am having trouble finding out if this is possible. the current site would not change, but there ...
0
votes
1answer
42 views

How to activate a plugin on the activation of a theme?

I want to use the hide unwanted shortcodes plugin to hide unwanted shortcodes from my desktop theme when my website is visited by mobile users. I'm currently using the any mobile theme switcher ...
0
votes
1answer
27 views

Force theme or disallow theme change

Can I force a theme? I mean that the user cannot change intentionaly or accidentaly the theme I made for that website. I would like to do this from the core because I also want to lock all updates.
-2
votes
1answer
43 views

Any plugin/theme available which suits my requirement? [closed]

I have this WordPress website up. As one can see I've displayed alternate red and blue bands (which are images) with text written on them. I had the bands (around 100) manually created on Photoshop ...
2
votes
4answers
210 views

Dash or underscore in theme folder name?

I'm confused and I didn't find any answer by Googling. My theme files such as single.php or header.php reside in a folder. Should I use dashes or underscores in the folder name? My web server run on ...
0
votes
0answers
28 views

How do I make the selected layout display for all MarketPress pages?

I've set up a WordPress site and installed MarketPress. It works fine overall and the /store/ page is correctly displaying my selected template/layout. However, all subpages such as /store/products, ...
0
votes
1answer
28 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 ...
0
votes
1answer
26 views

Include a php file that is above WP installation hierarchically?

I've come across a number of ways to call the WP "root" folder But what if I want to include a php file that is in a parent folder of WP? Example http://www.site.com/, where the WP blog is in ...
-1
votes
1answer
23 views

“Parse error: syntax error, unexpected” and the Wordpress Theme Editor no longer working!

I knew I made a syntax error or something which Wordpress showed error after I added code to functions.php : Parse error: syntax error, unexpected 'Lucida' (T_STRING), expecting ',' or ';' in ...
0
votes
1answer
63 views

How to load jQuery in the footer - nothing works for me

I tried all the solutions I found on the internet, including the ones I found here, but nothing works on my theme - jQuery always load in header. I try to use the one from Google, but I would be happy ...
1
vote
1answer
27 views

First post of each category

I'm trying to create a simple loop, that gets the latest post of 3 selected categories. I've searched for something similar to learn from, but most are overly complex. At the moment, I have: ...
0
votes
1answer
32 views

Pages and posts on ElegantTheme featured slider [closed]

I use an ElegantTheme on a wordpress site. These themes have a "featured" slider on the home page. In the administration panel of the theme, you can choose wether you want to show featured articles ...
0
votes
3answers
196 views

How to have permalink like domain.com/term/postname?

I'm trying without success to have a URL structure like domain.com/term/postname, but I just get 404 for all non-CPT pages. function add_video_post_type() { $labels = array( 'name' ...
0
votes
1answer
36 views

Blank line before doctype

I have a frustrating problem. In the page source, the first line is blank, which causes issues in some browsers. These are the steps I've taken to try to fix the problem: Gone back to ...
-2
votes
1answer
15 views

HTML content filtered on blog page

On my blog page where my all post are listed all formating is filtered and the post text is in a paragraph tag with all other formatting HTML tags removed. It works fine on the posts single page. ...
0
votes
1answer
38 views

How Does One Create a Global Variable Repository

This may have a simple answer but I would like to store all the variables I've declared ( or cached ) across my theme in a central file and serve then this file globally ( Similar to how get_header(), ...
0
votes
2answers
75 views

Cannot apply custom css to IE in the theme

For the twentythirteen, twentyfourteen or any theme made by Wordpress, editing ie.css which is in themefolder\css\ie.css doesn't result in any changes in Internet Explorer. I'm actually using IE11, ...
0
votes
1answer
32 views

Change image size depending on page

I've got a simple photographic site and it uses large image sizes throughout. On the archive page, however, I've got about 35 posts each showing the first image of each. By default, the images being ...
-2
votes
1answer
52 views

Why I obtain this error message when I try to click on the author name of a post in my theme?

I am pretty new in WordPress theme development and I am experiencing a strange behavior in this custom theme that I am developing: http://onofri.org/WP_BootStrap/ As you can see in the blog are shown ...
-2
votes
2answers
33 views

wordpress not able to open theme-editor.php

I am having a site radhanath-swami.info. I logged as admin using "radhanath-swami.info/wp-admin". then i tried "radhanath-swami.info/wp-admin/theme-editor.php" You do not have sufficient ...
0
votes
0answers
22 views

Premium theme - hardcoded url?

I bought theme (White rock), installed new site en.mysite.net from scratch, but theme still references to mysite.net Is there any chance that there is somewhere in theme files hardcoded url for which ...
3
votes
2answers
73 views

How to change the language for the front-end only?

I have installed a wordpress theme, i can see the .mo and .po /public_html/wp-content/themes/themename/lang, the language I want to use is available. Could you please advise on how to use a specific ...
2
votes
2answers
50 views

How can I position ShareThis buttons manually when using the plug-in?

In developing custom themes I have clients who want to use ShareThis for their social media. ShareThis offers a plug-in with a control panel that lets the client manage the buttons, style, etc. the ...
0
votes
1answer
37 views

Widgets not showing in my custom theme

I am developing this WordPress custom theme: http://onofri.org/WP_BootStrap and I am trying to insert a widget area under the Partner e Sostenitori section, but can't work. I have performed the ...
0
votes
1answer
23 views

Can I have two different theme for two different language?

I have to develop a multilanguage website using WordPress (Italian and English) and I want to know if I can have a theme for the Italian version and a differen theme for the English version. Can I do ...
0
votes
2answers
57 views

Get posts after calculating meta key

I have 2 meta fields for the posts, eg. meta_value and meta_count. Both are numbers. I want to divide meta_value by meta_count and based on the results I want to fetch the top 10 posts. So for ...
0
votes
1answer
37 views

WordPress add post format support not working

I am working on a theme and for some reason, add_theme_support( 'post-formats', ... ) is not working. In my theme's functions.php I have the following near the top: function mytheme_setup() { // ...
0
votes
1answer
33 views

Themes VS Plugins [duplicate]

If I am customizing a WordPress site, should I do that via a theme or a plugin? By customization I mean: Add new custom post type Add new fields to the Users Add new widgets Add custom permalinks ...
0
votes
0answers
35 views

Themes and Plugins page “not found”

When trying to access my Themes or Plugins page on the three Wordpress sites I run they are all listed as "Not Found". I am not sure when this started, but I recently set up my third site and was ...
0
votes
1answer
17 views

Any Mobile Theme Switcher - Theme not complete (Stylesheet missing)

I am trying to install the theme "Any Mobile Theme Switcher" on Wordpress 3.2.1, in order to give my Site a different layout, depending on where it is displayed. Installation succeeds, but in the the ...
0
votes
1answer
33 views

How to enqueue javascript for WP Customize options sidebar?

I'm trying to add Chosen.jquery to the WP Customize options panel, so I can have an autocomplete box there. Is there any way I can do that? I tried with admin_init, admin_footer and ...
0
votes
0answers
33 views

language theme and multisite

i have a problem i can't solve, i made a theme with two languages support, italian as standard and english using the .po and .mo files (located in the /lang/ folder inside the theme), everything works ...
0
votes
0answers
26 views

how to customize WP 3.8 themes.php screen

I've been digging around on Google and looking at themes.php for clues - but I've drawn a blank. I'd like to customize the themes.php screen via a plugin in 2 relatively simple ways for a device ...
0
votes
1answer
27 views

Why in my theme I can't see all the statics content under the posts?

I am pretty new in PHP and I have the following problem, I am developing this WordPress problem: http://onofri.org/WP_BootStrap/ As you can see it is shown the unique post present on my blog (the one ...
0
votes
0answers
21 views

How get file address in wordpress folder?

In my wordpress's folder I have a file that I want make it available for some users with download link, does anybody have idea for this? Folder have these files: wp_admin wp_content wp_includes ...
0
votes
2answers
26 views

Is there any hook for theme activation ? or something similar?

I know this has been asked before however my question is different. So. I have a plugin that creates custom post types on the fly. the plugin also has a function to create template files for each of ...
1
vote
3answers
60 views

Some doubts about how to show posts in a custom theme?

I am pretty new in WordPress theme development and I have some doubt about this WP function used to show my post in the homepage: <?php if ( have_posts() ) : // Start the ...
0
votes
2answers
32 views

How to use custom page templates in a theme that hides page template option?

My client uses a theme called "Imbalance2", which hides the template option in dashboard "page attributes" section. Is there a way to assign a custom template to a page despite this - rather ...
0
votes
1answer
55 views

Want to add different text after each menu item

I want my main nav bar to display menu items with very short description of said menu under each item's title. To do this, I was hoping to just inject the menu item's 'title' attribute into the ...
8
votes
2answers
157 views

How do I exclude plugins from getting automatically updated?

There is an opt-in filter that allows all plugins on my site to receive automatic updates: add_filter( 'auto_update_plugin', '__return_true' ); I like this feature, but I don't want all my plugins ...
0
votes
1answer
22 views

Posts & page twice display

I install a fresh blog and add some posts & pages. With normal template/theme the pages and posts are fine while showing twice when i changed the theme. The problem lies in the template but i ...