Tagged Questions
0
votes
1answer
11 views
One button to change all settings in theme customizer?
I have been attempting to create a theme reset button for the theme customizer that automatically removes all of the theme_mod settings. I have tried multiple ways to do this and have never been able ...
0
votes
0answers
7 views
Extended image control not showing up in theme customizer
I have an extended image control for the theme customizer that adds in an extra panel and lists images I have hardcoded into the extended control.
Now the issue is that it is not showing up in the ...
0
votes
0answers
7 views
How to export/import theme customizer settings?
I am wondering if it is possible to export theme customizer settings(theme_mods) to be imported into another install of the same theme. I know that the settings are saved into the database so I am ...
0
votes
1answer
24 views
Twitter feed is showing blank in WP site [closed]
I am using themefuse WP theme and facing this problem.
http://themefuse.com/forum/thepractice-wp/twiiter-newsline-is-blank
Can someone please suggest if I need to use some other attribute. I am not ...
0
votes
0answers
25 views
How do I link a button I created in theme customizer to a function?
I created a button in the theme customizer and I want to use it to execute a function? All I can find is using controls to add theme settings such as CSS and text. Although this button is to clear out ...
-1
votes
1answer
41 views
Errors while Loading Most Recent Version of jQuery
I am trying to set up my WordPress so that it will use the most recent version of jQuery. Here is what I have done so far:
functions.php
<?
add_action( 'wp_enqueue_scripts', 'RegisterJQuery' );
...
0
votes
1answer
39 views
Some problems calling a function into sprintf() inside functions.php template file [closed]
I am new in PHP and WordPress and I am personalizing an existent template and I have the following problem.
In the function.php file of the template I have the following function:
function ...
0
votes
3answers
71 views
Need oop for wordpress theme? [duplicate]
I know how to program in PHP, but I don't know OOPS(Object Oriented Programming). Is it better to make themes in OOPS(Object Oriented Programming) or with normal coding? Is it better for performances, ...
-1
votes
2answers
76 views
Wordpress menu links with images & class selection
<ul>
<li class="selected">Link 1<img src="images/slash.png" /></li>
<li>Link 2<img src="images/slash.png" /></li>
<li>Link ...
-2
votes
1answer
80 views
wordpress illegal string offset 'parameter' error
I am getting the error illegal string offset when creating a checkbox in the admin.
my code look like this.
<input type="checkbox" id="slideThre" name="custom_settings[checked]" value="1" ...
1
vote
1answer
92 views
How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)
I've created my own theme based on a very lean template. My theme is not parsing the [caption]...[/caption] markup to the correct html. It's just showing the text without any markup around it. Here ...
0
votes
1answer
29 views
how can I do something on new user registration?
When I register a new user to my blog, I always receive an email. The code in simple terms should look like this.
on_new_user_registration(){
//send email to admin
//I want to do ...
0
votes
1answer
198 views
How to link a lightbox thumbnail to a post instead of opening the lightbox
On my website portfolio: http://smalldotdesign.com/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 ...
2
votes
3answers
77 views
reason of splitting theme files to multiple files
I can create my theme without splitting it into separate files. Why do theme developers split WordPress theme into a few single files like header.php sidebar.php and etc?
0
votes
1answer
112 views
Set WordPress Default Template
I'm using the Options Framework Theme to put together my options page and would just like to know how would I set up/call the Default Template - for whichever one the user has selected.
For example, ...
0
votes
1answer
106 views
doubled content
I'm taking two templates and molding them into one that suits my needs. I'm getting this weird issue where things are repeating themselves just before the footer. Here's the code:
<?php ...
0
votes
1answer
596 views
Add a Second Menu to a theme that only support 1 menu
I am no programmer but I can usually work stuff like this out when I read the code.
I have a theme called Infinity which only supports 1 menu. I know how to do CSS etc but I can't find how I would a ...
1
vote
1answer
101 views
Changing the template hierarchy
Is there an easy way to change the WP default template hierarchy?
For instance;
Say I want to change my theme directory structure so that it completely changes from the Template Hierarchy suggested ...
0
votes
1answer
67 views
Themes with variable width or single columns? I want to display source code
I've just set up a new wordpress blog, and as a developer I want to post some source code as well. Now I found the suitable plug-ins I need, and also a sleek theme, or so I thought.
The problem is ...
0
votes
2answers
103 views
Commas in Tag Cloud
Using <?php wp_tag_cloud(''); ?> to display tags on my website, how do I separate each tag with a comma but also remove the comma from the last tag?
0
votes
1answer
69 views
Display static pages instead of category, in code
I'm very new to programming and not sure how to go about this. The following code returns 3 category names and feature images and then outputs them on the page.
<div id="footer">
<div ...
2
votes
1answer
453 views
Fatal error: Call to undefined function wpsc_cart_item_count()
-- I've just done a fresh install of Wordpress 3.4
-- I've downloaded and uploaded this new free eCommerce wordpress theme suggested by smashing magazine.
{ ...
0
votes
1answer
53 views
Is there a (offical) way for a theme to deactivate itself and show a message in admin?
I know that plugins can deactivate itself, but how about themes?
I work on a parent theme (Framework) and I don't want users to be able to activate it.
This is what I have so far. The problem is ...
0
votes
1answer
739 views
.htaccess on multisite and roots theme?
i install the Roots Theme and then convert my installation to multisite... so that wordpress add some code into the previous .htaccess with root settings.
My .htaccess now looks like this and i'm ...
1
vote
3answers
1k views
How to Insert Shortcodes into Theme?
I have content locker plugin.
For locking contents, im using this shortcode:
[wp-like-locker]
Your locked content here...
[/wp-like-locker]
and I need lock every post on my blog. How could I ...
2
votes
1answer
46 views
How should I best target dynamically served content?
I am editing the 'Bizz' portfolio Wordpress theme(http://www.wpexplorer.com/bizz-wordpress-theme). It includes custom post types for managing portfolio examples, the highlights on the homepage, etc.
...
2
votes
1answer
1k views
How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
How can I remove "Proudly powered by WordPress" from twentyeleven without modifying footer.php, and without creating a child theme?
I'm looking for a php command, such as add_action, remove_action, ...
0
votes
1answer
140 views
Move wordpress sidebar on homepage up to new position
This should be a simple task, however I am having no such luck. I am using a theme that has a homepage slider which spans across the entire content area. I have been asked to reduce the size of the ...
0
votes
1answer
79 views
How can I print out a single stylesheet or javascript link?
I know I can use enqueue_script and enqueue_style to register scripts and stylesheets, however I'm trying to print out just the link to the adminbar css:
<link rel='stylesheet' id='admin-bar-css' ...
0
votes
2answers
163 views
Showing latest post without 301 redirect
My WordPress website is now redirected to latest post by adding below function to function.php
add_action( 'template_redirect', 'redirect' );
function redirect() {
$args = array(
...
0
votes
1answer
101 views
Lost theme while attempting to change URL [closed]
I am a total novice with WordPress and all things web. I was able to download a great theme, install it and practically finish what I considered an excellent website, until I tried to moved the URL ...
0
votes
1answer
191 views
How to change theme programmatically from a external application?
I have a one-click Wordpress install as part of my services. After install I want to show my clients a set of themes so they can choose one and their pages will start working without any configuration ...
2
votes
2answers
154 views
Detection of theme being used
OK, this may be a dumb question. Is it possible, using PHP, to detect which theme has been set for use by Wordpress ? If so, how's it done ?
Thanks.
0
votes
1answer
890 views
Show post thumbnail only if it exists using timthumb
I am using timthumb as the image size management script throughout my wordpress site but I just noticed that an empty image tag shows up even when there is no thumbnail.
<?php ...
0
votes
1answer
266 views
Catchable fatal error in appcloud free theme by Tokokoo
I have been attempting to make this theme work, Kelontong by Tokokoo, as seen here :
http://stylishwebdesigner.com/6-free-wordpress-ecommerce-themes-to-create-an-online- ...
1
vote
1answer
94 views
Wordpress: Access a plugin from within a theme
I am creating my own custom wordpress theme, this in general is not the problem.
I would like to use a plugin that is normally used within pages/posts. (NextGen Gallery, to make a sort of slide show ...
0
votes
1answer
996 views
How do I hardcode a WordPress shortcode into my theme?
I am using WooTheme's Canvas theme and would like to "hardcode" in the [post_comments] shortcode into my theme. [post_comments] displays a comment link with comment count (ie Comments 10) in my post. ...
4
votes
4answers
506 views
Separate Wordpress themes for each category page
I've read http://codex.wordpress.org/Category_Templates, which tells you how to change your index.php for each category. But I want to load a whole different theme directory in for my site when a ...
2
votes
1answer
605 views
How to make alert for new version on theme options?
Let say my theme host on my server. User download my theme and use it. Now I want notify @ alert for new version of my theme.
Example to show "New version has been release. Please download at ..."
...
1
vote
1answer
1k views
Wordpress theme options and insert default value for serialize data
How to add default values for theme options? Currently I use basic option from this site
The sample will stored option value in serialize on database. When we activate the theme, there is no value in ...
0
votes
4answers
1k views
Translate wordpress date from Italian to English
I'm developing a wordpress based site in English but I've installed the Italian version of it...
In my blog page, I get dates, exactly months, in Italian instead of English...
How can I translate ...
21
votes
6answers
2k views
Using OOP in themes
I see a lot of plugins making use of object-oriented coding when there isn't really necessary.
But what's even worse is that theme developers are starting to do the same thing. Commercial themes and ...
0
votes
1answer
247 views
Remove problem PHP code entered into footer via Theme
A friend of mine has a WordPress site using the Theisis theme. Recently he added a bit of problematic PHP code to the footer via the Theme (not into a PHP file). The PHP code is erroring out causing ...

