0
votes
1answer
129 views

Assigning a list of ZIP codes to specific WordPress Pages?

Background: We live in a small state and have 10 "stores" located throughout it. Each of these stores has their own WordPress Page. We have a master list of ZIP codes for our state (roughly 400 ZIP ...
0
votes
1answer
60 views

Using functions concatenated with strings inside a variable

Trying to do some dynamic image sourcing but I'm stuck. Probably pretty basic stuff, but I'm new to this. This works: <img src="<?php ...
0
votes
1answer
62 views

Older entries link within a category page

I have set up a category called 'blog' and have all of my posts displaying from this category. I have selected to display 4 posts / page therefore there is a link at the bottom that says older ...
0
votes
1answer
241 views

Removing the TinyMCE editor for a given page template

I was looking for a way to remove the TinyMCE Editor for a specific page template in a theme (in my case it's page-home.php). I found the following code, which works, however, I was wondering if this ...
0
votes
1answer
90 views

Problem with single posts not showing correct category sidebar

I'm looking for something very specific: I'm using a plugin called "Category and Tag Specific Widgets" to create category-specific html in the sidebar of each category. This only works if I click on ...
0
votes
1answer
125 views

Leverage permalinks with AJAX

I'm trying to implement some AJAX to my theme, but there are a few things I cannot get my head (or Google) around. I have a custom post type named "Faculty" and a page displaying the featured image ...
0
votes
1answer
74 views

Wordpress Theme Problem

Can anyone tell me, why this theme is not working? My Configuration : XAMMP 1.8.1 PHP 5.4.7 Wordpress 3.5.1 After Installing the theme with other necessary plugins and frameworks, I activated the ...
0
votes
1answer
81 views

Display the first post's comments of category in comments.php template

I want the display the comments from first post of the category only. Example; Category - Post 1 (2 comments) - Post 2 (1 comments) - Post 3 (5 comments) If I am reading the Post 2 or Post 3, I ...
0
votes
1answer
116 views

Custom template redirect based on url vars

I am using a custom URL on my menu to show the most viewed posts by passing the variables to the url as http://website.com/?v_sortby=views&v_orderby=desc However I want to use a custom template ...
0
votes
1answer
135 views

How do I display a full post, not just an excerpt?

I am a newbie, so apologies in advance if my terminology is off. I have purchased a theme (WP SmartStart) and I would like the posts in the blog to display fully, not just as excerpts. I read previous ...
0
votes
1answer
56 views

How do I restore my site?

I accidentally deleted all my pages and posts from my wordpress admin. I was trying to delete some dummy data that one of my plugins installed on the website and wham!, all my posts and pages were ...
0
votes
1answer
54 views

Custom post type - permalink

Is it possible to change the permalink of a custom posttype? I have a custom post type called "events", I have made a page called archive-event.php and this is reached by /event.php is it possible ...
0
votes
1answer
144 views

wordpress apply filters and is singular()

I'd like to know whether anybody has heard of , or created a workaround to the following problem: let's say there is a plugin which has code like this, add_filter('the_content'.'some_func'); ...
0
votes
1answer
349 views

Get Comment Author ID on the fly while posting

I am adding custom data to custom table while author posting a comment. Please find my code in my own answer here http://wordpress.stackexchange.com/a/85109/9821 Now I want to add one more column of ...
0
votes
1answer
174 views

How to handle image resize in media_handle_sideload?

I am using media_handle_sideload function to upload images in my plugin. Is it possible to disable image resize or set it to a specific size and do not make copies (upload only resized image).
0
votes
1answer
104 views

Password Protected Directory Link Shows Maintenance Mode Page

In my WordPress installed directory, I have placed a directory named "Projects". My WordPress site is in maintenance mode with Maintenance Mode Plugin Installed on it. I password protected my ...
0
votes
1answer
2k views

Sort get_children by menu_order

I'm using the jQuery Carousel Gallery and unfortunately it's not working with WP's new v3.5 gallery ordering. When the client drags to rearrange images, those changes are not reflected in the ...
0
votes
1answer
225 views

How to reverse pagination for archive pages?

I would like to reverse the pagination order for the category archives and am wondering if anyone can offer any help. Basically what I am looking for is pagination to start with the oldest post ...
0
votes
1answer
700 views

Pagination for multiple queries merging into one Loop

I have an events site where I want to display upcoming events that can be booked in ascending date order and then events that are closed for registration in descending order. I'm using get_posts for ...
0
votes
1answer
106 views

How to remove links generated by SEO-smart-links?

I tried seo-smart-links plugin and it linked all my posts to tags/categories and other posts. This looks stuffing and spamming to me so I uninstalled this plugin. Now the links are still there but the ...
0
votes
1answer
114 views

Import data from file larger than 15 MB

I have my blog on wordpress.com, I want it to be moved on self hosted server. I have exported data from my wordpress.com blog to XML file, However, When I went to import the data to my self hosted ...
0
votes
1answer
51 views

What is the best way to build a network of WP sites that share the same membership area?

I have a potential client who wants to build a network of 20 or 30 sites that all use the same membership area. In addition, an account set up on one site will get the user into any of the sites in ...
0
votes
1answer
70 views

Can't insert files in other inputs

I'm trying to allow multiple images to be uploaded to the media library where I can then take the URL of the image and insert it into a custom page on the website but for some reason, when I click on ...
0
votes
1answer
72 views

I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image

Firstly, I'm not a developer, mostly a website designer and CSS hacker. I'll try to explain better: I'm using a grid theme that creates a thumbnail out of the featured image to display as a post ...
0
votes
1answer
253 views

get_post_meta($post->ID, 'Begin', true); don't give me numerical value

I'm trying to use the jquery plugin Timeago. With this, I want to countdown from a date (2013/03/04 format) Which is in a custom field. Echo $Begin2 gives me something like : 34 days ago. It's work ...
0
votes
1answer
68 views

is_mobile as shortcode

I installed the Plugin "mobble" which provides some more conditional tags. As I want to hide some content for mobile devices I tried to build a shortcode [is_mobile]. But I tried many different ways ...
0
votes
1answer
84 views

Developing a Wordpress plugin like a component in Joomla

My mission: I have a system that could have been a standalone website, but I would like to be a part of an existing CMS so that I can avoid writing my own user management system, forum, blog system, ...
0
votes
1answer
32 views

Static pages not being allowed

I followed the directions for creating a static front page and displaying the news on another page. I have done this before with success but now I am having a problem. When I go to mysite.com/news I ...
0
votes
1answer
93 views

Show last post of employee in his profile page

I have built a wordpress theme in which I have listed employees of the organization via custom post type. And I am displaying each employee via custom post type. The employees listed are authors in ...
0
votes
1answer
50 views

Ideal top-level slug methods

Right now I have a post type that generates a slug, e.g. http://url.com/l/abcd/ for each entry. I have a query in my 404.php that checks for http://url.com/abcd before output and redirects it if found ...
0
votes
1answer
73 views

How to check my WordPress.org site MySQL queries generating items?

My WordPress site generate hughes MySQL queries. As a result of that I got "Error establishing connection to database". I use a shared hosting. When I check error logs on my host (cpanel) it shows ...
0
votes
1answer
49 views

Site with all content on the front page

I would like to achieve the following: all the content is displayed on 1 page (the front page) the content is organized in sections the content for each section can be edited separately each section ...
0
votes
1answer
183 views

Adding a 'style=' bit to image_send_to_editor output

The best thing I liked about the new v3.5 media manager was being able to insert images to a post hosted by an external site like photobucket using "Insert from URL". I normally format my image ...
0
votes
1answer
51 views

finding out the top 5 source ( source is a custom taxonomy ), in a given category

The client I'm working with have thousands of articles and media ( audio/video ) files. To WordPress, all are posted by Author ID 1, which we named as STAFF. All the content though in reality has ...
0
votes
1answer
54 views

Loop being strainge

So I hacked together a function that does the following: protected function _query_post($query){ $original = $this->_wp_query; $wp_query = new WP_Query($query); ...
0
votes
1answer
115 views

Saving zero as meta value

I have a meta_key called "_ordre" and each time I create a new custom post, a new meta_value is set for that meta_key. The thing is, when I set the value of '_ordre' to 0, the meta_value is not saved ...
0
votes
1answer
51 views

Need help with category page customization meeting certain condition

I have 3 columns in my category page. On the left column, I want to show Recent posts only from that category I am viewing. In the middle column I want to show most viewed post only from that category ...
0
votes
1answer
58 views

Listing category

This is the code I'm using for listing categories: <?php $this_category = get_queried_object(); $args = array( 'orderby' => 'id', 'show_count' ...
0
votes
1answer
171 views

Only default permalink is working

I'm getting trouble with another permalink setting then the default permalink setting. I want to use the post name of a page/article but when I activate "the post name", all of my pages, except the ...
0
votes
1answer
74 views

Pages with a loop (index, archive) are loading the first image as post_thumbnail

Using post thumbnails for custom header images -- works fine on straight pages. But custom templates that load a loop (including index) are pulling the first image instead of using the one set in the ...
0
votes
1answer
144 views

Best Way To Structure 3 Tiered Site

I'm starting a quote site using Wordpress. I'm wondering what would be the best way to structure the site considering the fact that I'd like to include a lot of static content on the tier 2 pages. ...
0
votes
1answer
96 views

Wordpress multi user registration sites

For one of our customers we are currently creating a (mobile) news app which include the blogs of their WP multisite. We made an REST connection between the DB but are stuck at the following problem: ...
0
votes
1answer
39 views

Wordpress is adding <!— page-who-we-are.php --> above html

Wordpress is adding this comment above all HTML on my site which is causing problems in IE in which the site won't render properly at all. How do I stop WP adding this? Tried disabling all plugins ...
0
votes
1answer
68 views

dynamically get post attachment while editing

I want to show a meta box on the post edit screen, that contains a list of the images attached to the post. I need the meta box to work for new posts as they are being created. It should update ...
0
votes
1answer
591 views

placing the media uploads in a subdirectory

Hi I want all my uploads to be uploaded to a subdomain on my site instead of 'wp-content/uploads' I created a subdomain cdn.mysite.com and i want all the uploads to go there instead. I want my ...
0
votes
1answer
87 views

Adding Gravatar to rss feed

So I have a mailchimp email that goes out and shows the latest posts that have been made on the site. The users on the site all have gravatars and I want to include that in the rss feed so that I can ...
0
votes
1answer
120 views

Index page is not working

I need help! I am farely new to WordPress and I was setting up a client a small blog for him. When I was done, I tested it on my server and everything was working perfectly with it. The next day I ...
0
votes
1answer
77 views

Using Query In Post Type Archives

I'm using the script below to call post from a certain category in the sidebar. It pulls from all post type on the homepage and on the single post page, but when it comes down to the post type archive ...
0
votes
1answer
99 views

Parse a shortcode differently based on on what it's nested in

Suppose we have two different sets of nested shortcodes, like this: Apple version [wrapper snack="apple"] Today I had a [flavor] snack... [/wrapper] Desired output: My snack was quite HEALTHY ...
0
votes
1answer
53 views

include other content type post ID not working

I am calling content type portfolio in a page but i want to show some pages by id with portfolio content type, below code only retrieve the portfolio posts. $args = array( 'post_type' => ...

15 30 50 per page