0
votes
1answer
71 views

How to Fix an Archive.php That Displays All Posts?

I am currently working on developing my first large-scale WordPress powered site, and I have run into a major problem in my archive.php file. It loads all posts, rather than the categories/tags that I ...
0
votes
1answer
18 views

How to show all of aspecific post type that has taxonomy and a specific term

i have a post type called directory_listing, i have a taxonomy called 'place' and I have terms in that tax for place1 and place2. I need to display all the 'directory_listing' posts that use the term ...
0
votes
0answers
27 views

Custom field not displaying when category specified in loop/tag

I'm using custom fields (via Advanced Custom Fields) to display particular bits of information. One of them, author (for which there are sometimes multiple entries), displays fine across the site but ...
2
votes
4answers
93 views

Wordpress Ajax Data problem

I couldn't add selected data to a div using ajax. Here is my code: <?php function master_ajaxurl() { $myOpt = $_POST['option']; bringDetails($myOpt); } ...
0
votes
1answer
41 views

List of Events with Multiple Dates: Only NEXT Date

I am currently developing a site http://madstheatre.com that will serve as a resource for Performance and Audition information in Madison, WI. A feature that is preventing me from starting to go ...
0
votes
0answers
117 views

Check if values exists DB

I am getting nutts with this one. I want to check if the email introduced in the form already exists in the database before creating a new record. But for some reason the email is empty at search ...
0
votes
0answers
23 views

Separation of view and logic

I find that very easily my views become cluttered with logic, e.g. null checks, email validation, and retrieving values from the post object. How would you separate this out in Wordpress? Is there any ...
-2
votes
1answer
77 views

Wordpress: code structure

EDIT: I've posted them separately here wordpress.stackexchange.com/questions/137672/… and here wordpress.stackexchange.com/questions/137673/…. I'll vote to delete this one. I'm working on a Wordpress ...
0
votes
3answers
104 views

How to list the Hooks and order of execution in current loading page?

I need to know the list of hooks that are called in the current page . How to identify the priority assigned to the action and filters in the action . If i want to remove the default action on ...
0
votes
1answer
60 views

How to hide something from custom home page with php code?

I need help to get the issue resolved. I have a wordpress custom-made site and it is with a custom home page. The index page of the wordpress site is used for updates purpose(blog). I want to hide ...
3
votes
1answer
240 views

Using Vagrant for customizable Wordpress Multi-sites

Background: My partner and I have a goal to create a customizable vagrant project that uses Wordpress multi site, as a local development environment. Ideal Use Case: Various developers on our team ...
0
votes
1answer
74 views

Assign Custom classes to every Excerpt

I have Around 40 Excerpts on my homepage (I am using Gantry Framework) and I want to style each of these Excerpts in a different Manner. i.e Different Backgrounds, Font color For Every Excerpt. So ...
0
votes
1answer
113 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
419 views

Load post content into iframe

I would like to load a Wordpress post into an iframe when a link on a wordpress page is clicked. This is the link I currently have. <a href="' . get_post_permalink($sight->ID) . '" ...
0
votes
1answer
35 views

if is_bbPress register jquery

i use this code to deregister jquery from wp_head(): <?php if ( !is_admin() ) wp_deregister_script('jquery'); wp_head(); ?> i want jquery just added when user on bbpress page, but it's not ...
0
votes
1answer
98 views

Make next post button link to random post

The normal behavior of this code is move to next post in order by id. Need to change this ascendent order to go instead to a random post (published). <div class="navigation"> <?php ...
0
votes
1answer
41 views

Auto create description in post

I want to create a script for when I add a title and an image to a post, and then when i publish, i want it to auto create a description Something like . . . . . You are viewing [title of post]! ...
0
votes
2answers
22 views

Date when the custom field was added

I have a couple of custom fields setup and working fine, is there any way to show the date when the custom field was created within the post template? I tried searching around, but no luck. For ...
0
votes
0answers
722 views

Woocommerce: Remove Woocommerce default address fields [closed]

I am trying to remove / hide some default address Fields like as the Postcode (Zip-code) field in Cart Shipping Calculator / Whole Woocommerce ? Is there a function for this? I found in ...
0
votes
1answer
48 views

Pagination on Custom Loop

I want to style the latest post differently than all the other posts in a category on a custom page. So far I have this code below which does exactly that: <?php if (have_posts()) : ?> ...
1
vote
1answer
158 views

Customized title tag for each page in pagination?

With the reference of below questions. How to change title tags on paginated posts? Paginate tags page How to change title tags on paginated posts? Add Page number to Meta Description in Wordpress SEO ...
0
votes
3answers
210 views

Custom Loop Pagination on WordPress

I'm trying to create a magazine style website. For this particular page (not homepage) I'd like to fetch the latest post and style it one way (style1). For all the other posts I'd like to just display ...
0
votes
1answer
42 views

pass html code to worpdress

I'm starting with wordpress and I have some doubts. I created a proprietary design from requirements that had. This design is made with html and bootstrap. Now I want to start using wordpress step ...
0
votes
1answer
29 views

Widget header unique classes

I have created the code below for one of my widget sections. Currently I am able to manipulate the title bar with (h3.home-widget-header) which is good. But obviously it will be for all widgets in ...
0
votes
1answer
24 views

Show a Category Specific Info Box

I have a number of categories which are regions of the country (north, south, etc). I would like to display some kind of info box at the end of each post which falls into one of these categories ...
0
votes
1answer
244 views

why is this content-template not showing any of my blog-entries?

i'm using the blogolife-theme on wordpress 3.6.1 my template looks like this: <?php /* Template Name: Template One */ ?> <?php /** * A custom template file. * @package WPLOOK * ...
-1
votes
1answer
5k views

How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]

Which file (or files, if more than one) do I need to edit to re-arrange the Product Page? I want to make some basic layout changes to the default Woocommerce product page. Specifically, I want to put ...
0
votes
2answers
338 views

how to show only specific category for a template

I have a custom template which should only show posts of specific categories. What do i need to change inside this code, to get this done? if ( ! function_exists( ...
0
votes
2answers
110 views

How can i hide and display elements automatically?

I have at the end of my blog page an element that shows / lists the next articles from page 2. If there is no second page , this element shows nothing. I would like to hide the element ...
0
votes
0answers
58 views

How to get the count for each taxonomy term

I know it is $term[0]->count; However, my terms are placed in the custom menu plugin. My terms are currently structured as Parent Child Parent Child How do I append the term count of each ...
0
votes
0answers
1k views

pagination broken - clicking next displays “page not found”

I'm a newb at Wordpress, but my HTML/CSS is ok. My site is: http://www.modernfuture.net/wordpress been working on it this for quite some time & I'm done with the headaches, need to get some ...
1
vote
3answers
4k views

Include a external PHP file into a Wordpress Custom Template

Is this even possible? I mean, im trying to add a blog into my site.. I already have the header,footer and sidebar layout in my site. can i use those in my custom wordpress template? <?php /* ...
0
votes
1answer
94 views

Infinite-Scroll Plugin and Jetpack Infinite Scroll Plugin - Adding to “Thoughts” Theme

How do I enable infinite scroll (either with the infinite-scroll plugin OR the built in infinite scroll jetpack) on the "Thoughts" Wordpress theme? I'm a total noob at editing this stuff so if you ...
0
votes
0answers
63 views

Changes in a home, two columns

I'm working with this template (this is a demo), I need the post shown on the home to appear in two columns rather smaller in width. Enclosed is my index.php code, I've tried everything by various ...
0
votes
0answers
41 views

set theme's default slider to show woocommrce's product

we know that theme's slider just can be set to show image of site' category and we can not change it to show image's of woocommerce's categories. there are ways to make a slider to show it. but I'm ...
1
vote
1answer
188 views

WordPress Custom Fields (Checkboxes with multiple values)

I am currently using a custom post type, with a custom field that is a checkbox. There are multiple values in the checkbox including: Laptop, New, No-Marketing-text and several more. If ...
0
votes
1answer
71 views

Clickable image link sends people to wrong URL

On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to ...
0
votes
1answer
68 views

Display movies that apear this day next

This code retrive me the movies that are comming in cinema, i want to be able to list movies that apear this day, next day ... 7 day week Ex: Today is 13.05.2013, i want to list the movies that ...
0
votes
0answers
52 views

error with WP custom form

I have set up a custom form in my locally hosted WP and I made a page where user goes after successfully done with the form but I got two issues : 1- the form validation code appears on the ...
0
votes
2answers
554 views

How to display only one category in a custom post type?

I have a custom post type called 'portcat' and I want to display the results of only one portcat category ('games' - which has an ID of '3') on my page. The below code displays all of the categories ...
0
votes
1answer
53 views

Where can I find the code for the menu page meta boxes?

I want to add a meta box to the menu page. More specifically I want to basically clone the pages or category meta box and have it load the items into the list from a meta key, instead of pages or ...
2
votes
1answer
813 views

How to add default images into theme customizer image control?

I am trying to figure out how I can pre-load a theme customizer image control with images I have selected. Is their a way to point the control to a directory so they automatically show up in the ...
0
votes
0answers
49 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 ...
1
vote
1answer
242 views

List of all theme customizer control types?

I have been looking through the theme customization API documentation and google to simply find out the names of the control types already built in to the theme customizer. More specifically I am ...
0
votes
1answer
152 views

How to add button to top of theme customizer?

I am trying to figure out how exactly I can add a button to the top of the theme customizer. The spot I am talking about is where the "close" and "save" buttons are. The ones that are above everything ...
0
votes
0answers
229 views

How can I clear the theme mod settings?

Ideally I am looking to add a button to the theme customizer that allows the theme to reset to default settings, although that may be asking for too much in one question so I am wonder if anyone knows ...
0
votes
1answer
94 views

customize wordpress database error page

UPDATE Initially I suspected this was related to the Wordpress framework I'm using (Genesis) or to my child theme functionality, but turns out that's not the case as I was able to get this to work in ...
0
votes
0answers
48 views

MySQL Engine vs. Charset

I am attempting to have my plugin create a new table. I am fairly new to SQL. I have found two different method for creating tables: Method I $table_name = $wpdb->prefix . 'cool_table'; $sql = ...
2
votes
1answer
50 views

Modifying Footnote Plugin for Descriptive Title Attributes

I've been struggling for a couple hours now to get this working... Hopefully someone here can help me. I just started using the wp-footnotes plugin, and I'm trying to set the title attribute on ...
0
votes
1answer
177 views

Display a list of users with avatar filterable with alphabets

I'm trying to create a page which should display a list of users with the role "Author" only and exclude all other default and custom roles. I also want them to be filterable by alphabets, so if I ...