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
81 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. ...
1
vote
1answer
29 views

How to know if user choose to show full post or excerpt?

I've seen there is a setting to choose whether to see full posts or excerpts on feed. However I'm using a theme that doesn't seem to support this functionality (it always show the full post). For 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 ...
0
votes
1answer
45 views

How to unset comment_notes_before field in WordPress comment_form

I am trying to remove Your email address will not be published. line from comment form in twentythirteen and twentyfourteen default themes. I have tried this: function ...
0
votes
0answers
89 views

Theme Editor Not Showing

I made a custom WordPress theme from scratch for a client, then zipped it up and sent it to them. They installed the theme fine, but for some reason the theme editor does not display. What I mean is ...
1
vote
2answers
101 views

How to tell a theme to use different .mo and .po files?

I have a theme which loads .po and .mo files to display strings in English. I want to have only one language (Polish), but those two files are en_US. I tried replacing content in the en_US.po file but ...
0
votes
1answer
67 views

How to merge two Wordpress themes?

I have a project in which I want to merge two wp themes, I have two themes in which one has a great interface i want to use this interface and second theme has a good functionality so I want to use ...
0
votes
1answer
95 views

FTP Username and password wrong while installing theme

I followed Failed to connect to FTP Server 127.0.0.1/:21 And was able to solve that problem. But now when I try to upload the theme then I get username and password failure. I have added following ...
0
votes
2answers
87 views

Can I use wordpress themes without wordpress?

I didn't find answer for my question so I'm decided to ask here, so: Can I use wordpress themes (for example: Twenty Twelve) without using wordpress? I really like this theme but I don't want to use ...
0
votes
1answer
331 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 ...
-3
votes
1answer
45 views

Obtaining the original unchanged Theme [closed]

Quite a few months back, I had used a third party theme v 2.9 in my wordpress site. I made a few custom changes to css/.php based on my needs. Now, I plan to upgrade the theme to v3.8. Before doing ...
0
votes
1answer
134 views

How to add favicon to my site - in both front end and admin panel

How can I add favicon to my WordPress site in both front end, and admin panel. I've tried many ways, but failed. I know, to show favicon the code is: <link rel="shortcut icon" ...
-3
votes
1answer
45 views

Adding function to function.php error 505 [closed]

Whenever I try to edit the function.php file of my theme. I get an 505 Error, no matter what function I add it will always give me that error.
1
vote
1answer
38 views

Echo all category names, apart from one

I've got this simple code, that creates breadcrumbs: function the_breadcrumb() { if (!is_home()) { echo '<a href="'; echo get_option('home'); echo '">'; echo ...
0
votes
0answers
23 views

Navigate with one button through a responsive wordpress page

You can take a look at Tessellate a HTML5 responsive template to see what I'm trying to accomplish. I love this theme and I'm especcialy interested in the way you can navigate with one button to ...
0
votes
2answers
103 views

How can one update a theme on a live site without interruption?

So i have a WordPress-based site with a custom Genesis child theme. Once the site goes live, we are obviously going to need to make changes periodically to the child theme's code — modifying CSS and ...
0
votes
0answers
35 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
83 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
320 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
8 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
56 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
29 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
39 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
28 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
55 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
27 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
48 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
30 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
45 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
400 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
37 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, ...
1
vote
1answer
37 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
29 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
51 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
86 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
50 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
58 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
218 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
72 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
18 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
41 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
254 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
35 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
73 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
125 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
25 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
93 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
127 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
94 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
25 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 ...