0
votes
1answer
60 views

WXR XML import is stripping php tags that I need to keep

When I import my WXR XML file it appears that wp_insert_post (or another function) is applying filters to strip php tags that I need to keep in my content. I have searched the various wp-include php ...
0
votes
1answer
98 views

Showing all post from all post type in admin backstage

I try to create an admin page where to display all posts from all custom post type. It is something like in edit.php, but instead of displaying single post type,I would like to display all posts in ...
0
votes
1answer
57 views

Running a wordpress action when a custom post type term (taxonomy category) is changed

Trying to make a system whereby a function is called upon an admin changing the taxonomy category (term - if i understand correcrtly) of a custom post type. I thought the action tag "edit_category" ...
0
votes
1answer
126 views

Can I exclude a single URL from a rewrite plugin?

I am working on an imported .html site that has been using the .html on pages plugin to rewrite the URLs for inbound link purposes. Now I am trying to integrate it with a subdomain blog ...
0
votes
1answer
62 views

Advice on setting up private site

I've developed a wordpress site which is only to be made available to around 30 people, whose email addresses I have in a spreadsheet. I want to allow these people to be able to register/login and ...
0
votes
1answer
99 views

Return Custom Post Type Categories

I have setup a custom post type within Wordpress. For this I have also registered a new taxonomy and added various categories. I then have assigned these to the posts, all of which works, it shows ...
0
votes
1answer
1k views

Using AJAX to run sql statement and populate dropdown

I am trying to create a search where the user select two different bit of data from databases and it them prints some results that meet requirements. I know I need to use ajax or something similar but ...
0
votes
1answer
138 views

How to update post meta with xml data

I am trying to get this to work, but it doesn't. What is wrong? $tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=..."; $tutorgeocode = ...
0
votes
1answer
59 views

Cross-Blog Related Posts

Is there any known way to display related posts across blogs? Its a really simple question, but I'm not aware of any ways to effectively link the blogs together.
0
votes
1answer
123 views

Trying to edit a WP site locally using MAMP

I'm new to WordPress. A friend asked me to redesign his WP blog and I've installed it on my Mac using MAMP. I went through the database setup and imported the site's existing DB and added the tables. ...
0
votes
1answer
79 views

Change Post and CPT author on the fly while publish the post

I am developing my site and require to change post author id on the fly while publishing. All post will be write and publish by admin but as content provided by different author and need to change ...
0
votes
1answer
836 views

forming WP_Query for posts of all post types but from specific categories

I need to get post from blog, custom post type 1, custom post type 2. custom post type 3 and either from category 1 or category 2 or category 3 or category 4 or category 5 or category 6 or category 7 ...
0
votes
1answer
165 views

Password Protect a Podcast Feed?

I've got a Wordpress account that I have multiple users on. I want to create a podcast feed that only those users have access to. Is there any method or plugin that could do this?
0
votes
1answer
557 views

Get single image from custom fields made with WCK custom fields creator

I used WCK Custom Fields Creator to create a repeatable custom field for uploading pairs of images (one color, one black and white) to posts. So for example, one post may have three fields, with two ...
0
votes
1answer
98 views

Associating post id with its post type

i'm making modifications to a portfolio theme. the theme has the blog and portfolios. the portfolios are custom post types with their respective taxonomies. the theme homepage only displays one ...
0
votes
1answer
116 views

Problem display only posts with comments

I'm trying to make a page that will show only the posts that have comments. I have this in my page template: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( ...
0
votes
1answer
113 views

wp_update_post call really slow when official Facebook plugin is installed

I'm having this weird issue, if i install my plugin and the official Facebook plugin the call to wp_update_post() becomes really slow. I've done some benchmark and it goes up to almost two seconds. If ...
0
votes
1answer
82 views

Are custom page templates being used to get this permalink structure

There's a website which has page URL's such as http://www.example.com/states/new-york/ If I go to http://www.example.com/states/ I get a 404 error. The site also has ...
0
votes
1answer
113 views

Using post type archive page for taxonomy archive

I have separate post type archive and taxonomy archive page. eg. archive-product.php and taxonomy-price.php. So when i goto example.com/product/?price=100 it redirect to example.com/price/100 and ...
0
votes
1answer
336 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
126 views

How to randomise a custom taxonomy tag cloud

I have about 70 tags, I want to get 5 different random tags out of that 70 each time the page refreshes... this isn't working for me <?php wp_tag_cloud( array( 'taxonomy' => ...
0
votes
1answer
167 views

metaWeblog.getRecentPosts is returning nothing in my iphone app

metaWeblog.getRecentPosts is returning nothing in my iphone app, follwong is my objective c code to call that method,xml-rpc wordpress methods like wp.getUsers are working fine, but the methods ...
0
votes
1answer
70 views

Create dashboard setting which lets me set ID of category which is inserted into template

Part of a function i'm using in my single.php page is $myposts = get_posts(array('numberposts' => 10, 'offset' => 0,'post_status'=>'publish','category' => 32)); I need to make the number ...
0
votes
1answer
53 views

If the only thing I use MySQL for is Wordpress, do I need MySQL's timezone tables?

The only thing I have MySQL around for is Wordpress. Some MySQL features, I gather, require you to import the system timezone database into special tables in the mysql database. (Which seems like a ...
0
votes
1answer
44 views

Bypassing a Form Options

here is the situation. I am using a plugin and although it is (half) works, I can't access the setting page. The plugin is to fetch thumbnail from Youtube and other video sites, but the problem is, I ...
0
votes
1answer
163 views

WP_Query do not include posts with a certain value in a custom field -

I am trying to grab the 5 most recent posts and have it exclude posts in an array that is already defined ($exclude), sticky posts and any posts that are checked off as a featured post (i.e. with the ...
0
votes
1answer
120 views

How to Sort in Reverse-Chrono Order in BuddyPress

I need to sort some of the "Group Discussion" discussion threads in reverse Chrono order. Is it possible? How is it done? Thanks.
0
votes
1answer
73 views

Working with post values in the admin panel

I have this basic admin page functions.php <?php include('ui.php'); ?> ui.php <?php function gui() { include('gui.php'); } function add_page() { $themename = 'Cesaro'; ...
0
votes
1answer
77 views

admin_print_styles incuding $_SERVER['DOCUMENT_ROOT']

All the Javascript isn't working in the admin area on my production server. Locally it works fine. I have narrowed it down to /wp-admin/wp-header.php line 72-78 do_action('admin_print_styles'); ...
0
votes
1answer
355 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
0
votes
1answer
117 views

Custom link color or stylesheets

I'm developing av theme for my WPMU users and are wondering is there a function for choosing the colors on the links? The same way Wordpress lets you change the background-color or header-images. ...
0
votes
1answer
171 views

Attempt to display site authors in a carousel - User Image not Outputting inside li tags

I am attempting to display the authors of my site in a jquery carousel but for some reason my images are outputted outwith the li tags and I don't know why. Code functions.php function ...
0
votes
1answer
71 views

Problem with permalink structure for Wordpress custom post_type archive template

I have looked at other similar answers to this question but not finding my way. I am using Custom Post Types plugin for a custom post_type called 'product' and has_archive is set to 'true' in the ...
0
votes
1answer
166 views

Pagination in wp query with transient api

I have intergrated wordpress transient system with w3 total cache. Now i can`t to do pagination for this query. <?php $paged1 = ...
0
votes
1answer
151 views

Home page loop with pagination problem

I used a loop to display posts from specific categories, then add the code for WP_Paginate plugin under that loop ... below my posts I see pagination links from 1 --> 5 , however when I press page 2 ...
0
votes
1answer
650 views

Multiple selection of categories

I would like to know if there are any plugins that work in the style of wp-snippets.com. On the left side it is possible to select multiple categories and the selection is working as filter. Is there ...
0
votes
1answer
155 views

Setting a default parent page

I have a site I'm putting together for a friend and I would like all new pages that are created to be the children of a set page (page id 495). I assume that I need to edit the meta-boxes.php file but ...
0
votes
1answer
266 views

Counting number of identical meta keys

Im looking to count how many meta keys exist within a post, because each time a specific user action happens, a new meta key is created with a date in it. I have this, which does not return anything ...
0
votes
1answer
64 views

Allow authors to create article image

I want to allow contributors to upload images while creating posts. But the catch is, I am building the post display pages out of my own custom PHP. Every article written will follow the same ...
0
votes
1answer
50 views

How can I create gallery of products and submit data for each product?

I have a client that wants an eCommerce contact to order website. The client wants to submit products on the website, including the price, name, and information for the product. Along with that, the ...
0
votes
1answer
75 views

simple category search form returns full text - but I need excerpts

I have member pages. I set their "membership type" as a certain category. I want to search the members now. I use this simple form that does what I need, except that I need the results to display as ...
0
votes
1answer
161 views

Gallery not displaying images when clicking on them

I've inserted a wordpress gallery in to my site (on a custom post type) using the editor. The code it's added is [gallery link="file"]. The gallery is displaying correctly, and when hovering over the ...
0
votes
1answer
93 views

Plugin that generates a page of post content

My script is generating a duplicate post even after I explicitly state that the post_type should be a page. It also ignores the $post_title, which I do not want to create a duplicate post if the title ...
0
votes
1answer
46 views

WYSIWYG editor not in a post editor?

It is possible to use the WYSIWYG editor in theme settings (not in a post editor)?
0
votes
1answer
272 views

rewrite rules hierarchical

I want that my WordPress follow this rules: /productes/ a page with all products /productes/[category]/ a taxonomy-page with all products of the category /productes/[category]/[subcategory]/ a ...
0
votes
1answer
28 views

static front page ONLY for certain themes?

A theme I am developing depends on there being a static front page. However, there seems to only be one global option to change if front page is static. So when I go to preview the theme, it won't ...
0
votes
1answer
29 views

wordpress taxonomy in regular posts

I have a custom post type and taxonomy so the user can post in a specific areas in the theme. User (admin) can add categories easily. But the categories that has been added through my taxonomy don't ...
0
votes
1answer
150 views

Create widget that filters posts on current page based on entered value

Can somebody point me in the right direction wouldnt have a clue how to start programming this. I want to filter post based on price (custom value) thru a widget. So lets say you click on a post ...
0
votes
1answer
95 views

An issue with register_sidebar and the admin interface

Okay, I'm sure there is an simple explanation for this problem... it's just that I can't see it right now. Here is my code adding widget sidebars: add_action('widgets_init', ...
0
votes
1answer
262 views

Redirect back to origin page after using get_delete_post_link()

I need to implement frontend and backend redirection after delete specific post using get_delete_post_link(). Which hook i can use? Any advice would be appreciated. Something similar to : <?php ...

15 30 50 per page