Themes create the public (front-end) interface for a WordPress site.
-2
votes
0answers
13 views
I want to have the following functionality in Wordpress [closed]
I want to implement the following functionality:
A visitor fills a form.
The form will be saved in the database.
The site will show what the user introduced in a new page.
The user will have the ...
0
votes
1answer
15 views
How do I move menu to the bottom in Custom Community theme?
I am new to Wordpress and created the following website: www.sugarhausbyamy.com
I would like to move my menu to the bottom of the screen. Is there an easy way to do this? I would also like to ...
1
vote
0answers
25 views
Is there any plan for WordPress to handle retina support for the site content?
I see from browsing Themeforest that there are many retina ( HD ready ) themes available; and WordPress itself has retina standard icons for the backend too; but what about the content, both future ...
0
votes
1answer
37 views
Pagination and multiple loops
Right, so what I currently have is a page split into three using a css grid. The third column is the sidebar, The first two each have a query for posts to display, and create a nice grid of posts ...
-1
votes
1answer
25 views
query posts in wordpress
I want to filter my query results just before the_loop starts in word press. I only want the results having term_id or term_taxonomy_id equal to 1.
...
2
votes
1answer
49 views
Best practice way to implement custom sections into a WordPress theme
I'm having trouble figuring out the best way to implement custom sections in a WordPress theme. For example I'm making a theme that will have four featured sections on the homepage. These sections ...
-1
votes
0answers
29 views
Wrong Page Title in h1 output, Strange Breadcrumbs
I use Wordpress 3.5.1 .
In origin I have used this template: http://html5blank.com/ .
Now, after modifications, I have a problem.
I use WooCommerce Plugin.
Q : in h1 (<h1><?php the_title(); ...
1
vote
4answers
37 views
How to make Home Menu( Front Page) use index.php instead of page.php
I needed a "Home" menu item in my wordpress website, so I created a new page and named it "Home", added it to my main menu item and then from Reading Settings I selected the "Home" as Front Page.
...
0
votes
1answer
21 views
wordpress taxonomy results
I am using taxonomy.php to fetch some rows from database. On taxonomy page the function get_queried_object() shows that I have got the right results from database but wordpress loop if ( have_posts() ...
-2
votes
1answer
25 views
getting id of page
I am using taxonomy.php to display records from database. The function get_the_ID() in taxonomy.php gives the ID of first record from database.
My URL is ...
0
votes
1answer
27 views
Consequences if using PHP include TEMPLATEPATH?
I have created a Theme Options page using Settings API so now I need to style it using CSS.
Instead using function like this inside functions.php
function mytheme_add_init() {
if ( is_admin() ) {
...
0
votes
1answer
12 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
29 views
Custom widgets in theme option page
I'm trying to create a simple theme options page that uses widgets to change the layout of content on the front page.
I started off by using meta boxes not realizing that the position is based on ...
0
votes
0answers
19 views
How to get dynamic data in page hierarchy?
I'm trying to mimic the page hierarchy rules of WP. I'm checking for the existence of certain files, then requiring them if they exist -- in the same order as I understand the hierarchy rules. Here's ...
0
votes
1answer
34 views
How to obfuscate theme directory URLs
I'm rewriting this question because I realized it was totally unclear what I want to do. I'm looking for a way to "obscure" the theme directory so that absolute URLs that reference things like images ...
-1
votes
1answer
36 views
Converting static website to wordpress
I have a static website http://www.powersolutionindia.com/ which i want to add blog functionality.
There are approximate 10 static html pages in this website, just i want to add seamless blog to this ...
1
vote
2answers
36 views
How to remove the cufon script from Dzonia Lite theme [closed]
I am using Dzonia Lite theme in my website. When I try to remove the cufon script from my functions.php file the sliders that were present in the website are not working.
Colud anyone suggest me how ...
0
votes
0answers
11 views
How to utilize theme customizer live preview in this situation?
Short version: I am using the theme customizer in my theme and javascript for the live preview. I am not sure how to implement the javascript for php(as seen in code excerpt).
I am creating a theme ...
0
votes
0answers
10 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
37 views
Creating Theme Options Page
I was creating a theme options page based on a tutorial by Tom McFarlin at TutsPlus and I'm a little stuck. I can't understand where the code goes bad here, because it doesn't allow me to access the ...
0
votes
2answers
33 views
Permalinks problem with custom theme
I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks.
In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
1answer
34 views
Wordpress plugin with its own “site”/theme
I am currently starting a plugin development project and ideally I'd like the plugin to run using its own custom theme as if it was it's own separate thing.
Is it possible to include a theme within ...
0
votes
1answer
41 views
Why is the Settings API is not saving my array of options
I am writing a set of classes to easily create options pages accessible via submenus of the standard WordPress menus and a way to easily create options for said menus. The way I am wiring it is via a ...
0
votes
0answers
14 views
Creating Theme Settings Page [duplicate]
I am trying to create a custom theme settings page for a wordpress theme, so that I may hopefully continue to reuse it on the future websites I make. Unfortunately, I'm falling at the first hurdle. ...
0
votes
1answer
26 views
wpautop on section
I removed automatic formatting in my WP site by adding this to functions.php:
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
Now I need to add it back into ...
0
votes
1answer
17 views
how does offset works on Pagination? (get_results)
I followed this link and created my own custom query with pagination.. but I don't really understand how the offset works,
Pagination with custom SQL query
the pagination does not work well. and I'm ...
0
votes
1answer
33 views
Why enqueue styles on hook
Why do we need to enqueue styles on a hook, why not just enqueue them straight in like this?
wp_enqueue_style( $handle, $src);
the codex page gives an example of using a hook but doesn't explain ...
1
vote
1answer
34 views
get_the_tags() not iterating through for/while loop, but will with foreach
I'm having a very peculiar issue with Wordpress right now that I can't understand, and hopefully someone here will have experience with it to help solve it.
I'm trying to iterate through the array ...
0
votes
1answer
30 views
Remove specific published page when theme deactivated
I am working on developing a theme which automatically creates a page on theme ativation. But the problem if when the theme is switched and activated again, it recreates the page.
is it possible to ...
2
votes
1answer
31 views
How to highlight the current page in the nav menu?
I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated.
For example:
You can clearly see that I'm hovering over a ...
0
votes
1answer
43 views
How to display admin bar when using wp_use_themes = false?
So I'm using Wordpress in a 'themeless' manner, i.e. not using a "blog" template. My site files are in the root directory (not in the theme folder), and Wordpress is installed in its own /wordpress/ ...
0
votes
1answer
32 views
Adding a gallery to my first theme
I have been spending a lot of time the past few months researching on how to create my first theme. That said most tutorials/books only discuss static sites and I want to go about this well prepared. ...
-1
votes
0answers
14 views
Problem aligning widgets in a row [closed]
I have added two widget areas at the bottom of the homepage content at http://79.170.40.241/refthecoffeefactory.co.uk/
I am having a problem aligning them horizontally. I also came across the same ...
0
votes
0answers
37 views
Does wordpress add their own classes into nav menus?
I am building a theme and have noticed that when I create a menu with just html or have it dynamically add menu items based on pages it looks how it was meant to be. Although when I change the code to ...
1
vote
0answers
55 views
Single page site with history.js
I'm developing a single page site that shows each page on the front page, like so:
*-----------------*
| Home |
...
0
votes
1answer
36 views
the_post_thumbnail() get the URL to the “medium” sized image
In the script below, I need to get the URL path to the "medium" size image in the "data-responsive" attribute. Its currently returning the thumbnail size.
the_post_thumbnail("thumbnail",
array(
...
-1
votes
0answers
37 views
Static link in header.php only displays on single posts/pages
I would like to add a static link to my Wordpress theme's header.php file such that it appears on every page. However, after adding the new anchor element to the template, I find that it displays the ...
0
votes
1answer
37 views
How to create a custom template to admin dashboard
I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers.
I've successfully created a page template for a custom login page, and ...
0
votes
0answers
19 views
How to disable controls in theme customizer?
Edit: I have rewritten the question in hopes I will get a reply from someone who knows the theme customizer.
I am trying to figure out how to disable setting controls in the Wordpress theme ...
-2
votes
1answer
62 views
What should I use? index.php, front-page.php and home.php
I'm building a WordPress theme but I'm bit confused. I don't know what to use. There is home.php, front-page.php or index.php. When I started building the WordPress theme I started with index.php and ...
0
votes
0answers
21 views
comments_popup_link(); isn't working for some reason
I'm trying to get comments_popup_link(); to work in my theme, but it isn't. I honestly see no reason why it shouldn't. The relevant part of my code:
<div class="row">
<div class="span7 ...
0
votes
2answers
56 views
Place the page title into the short code
I have created a short code called [contianer-narrow][/container-narrow] which wraps your content in a twitter bootstrap class: .container-narrow the issue is that the page title is not included. is ...
-1
votes
0answers
52 views
Using own design - easiest (layout) setup [closed]
I've been usually making my sites by myself, but I want to make new weblog and I haven't made my CMS yet so I decided to use WP. I also like to make my own designs for sites and I usually don't have ...
-4
votes
1answer
41 views
Sizing screenshot.png without losing aspect ratio
I have been trying to size my screenshot.png for my theme to 300x255 without losing aspect ratio. I have been doing this by getting my browser window width on my laptop to a size that is proportional ...
1
vote
1answer
43 views
Responsive Images - Generating multiple images from Theme Customizer control upload?
So, after poking around in the code it looks like the filter image_make_intermediate_size is not called by the various WP_Customize_Control() classes at either WP_Customize_Image_Control() or it's ...
0
votes
0answers
34 views
Wordpress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
I have been working on a theme for a few days and when I realized my JS file for my theme customizer wasn't updating I decided to clear the cookies and cache, and wow that was problematic. As soon as ...
0
votes
1answer
37 views
adding navigation to genesis themes
i'm following a tutorial provided here to add navigation menu, but not able to find out set of #nav in my style.css & my theme is eleven40. What we need to replace to get navigation menu?
2
votes
1answer
58 views
Why is styling comments so complex?
I've been building a theme completely from scratch and after a straightforward process up to this point, I've reached the comments.php file. Again, nothing too out of the ordinary, until this:
...
2
votes
1answer
34 views
add_filter and remove_filter added before and after wp_query
I have just started with WordPress Development, and found following block of code online (in some tutorial)
function filter_where( $where = '' ) { // posts in the last 30 days
$where .= " AND ...



