All Questions

8
votes
1answer
2k views

Stop WordPress redirecting comment-page-1 to the post page?

I would like to have a separate page for the comments on a post, such that this page: /2011/02/post-name/ just shows the post and then you click a link to view the comments, taking you to a page like ...
0
votes
1answer
154 views

How to establish site-wide fields with my theme?

I have been searching high and low and cannot seem to find a plugin/implementation for wordpress which allows for site wide values to be set and used (in places such as header/footer). Any help much ...
0
votes
1answer
701 views

Does admin_print_scripts-$hook_suffix work for nested paths to individual files?

Can the hook admin_print_scripts-$hook_suffix be used for a hook which has been created like $hookname = get_plugin_page_hookname("my-quiz/lib/admin/$code_page", '' );? .. where $code_page is ...
1
vote
3answers
324 views

Solve product properties with custom taxonomies?

I need to add about 50 properties to a product, such as heigh, width, location etc. I created custom taxonomies for every property and ran into serious problems. First of all, the UI is a mess! Every ...
4
votes
1answer
9k views

Saving custom data for each user

I allow users to save some notes on my wordpress site. They can only do this after they login to the site. Now I want to save their notes in a database table and associate them with the user's id i.e....
2
votes
1answer
2k views

Add “last” and “first” to Wordpress Comment Pagination Links

<?php paginate_comments_links(array('prev_text' => '«', 'next_text' => '»')); ?> Using above in Wordpress theme to add comment pagination links - this displays as « 1 ... 4 5 6 "1" ...
0
votes
3answers
798 views

More quicktag driving me nuts

I'm a bit confused. I have my own custom post type - products. I'm listing all the products on page-products.php. Every product has also it's own page - single-products.php. And the big and ...
1
vote
1answer
2k views

Looking for methods to Check if File Exist

I'm working on a custom theme framework for educational purposes. I basically have a header.php in a child theme that i want to make smarter. I'd like to only include a stylesheet if the file ...
32
votes
5answers
29k views

Why won't wp_mail() let me set the From: header when plain old PHP mail() will?

When I use wp_mail( $to, $subject, $message, $headers ) (with values in place, of course), the email gets sent with a from name and email that isn't set anywhere I can find (not even in PHP or Apache ...
0
votes
1answer
334 views

How to customize feed?

I'm trying to customize a WordPress feed. I know that if I modify wp-includes/feed-rss2.php, the feed is modified. But I don't want to modify this file, as it might get overwritten during an upgrade. ...
0
votes
2answers
1k views

WP Plugin for Terms of Use

Looking for a plugin to ensure that casual (NOT logged in) users of my site will agree to the Terms of use. That is, first time they try to access ANY page on site, display terms and prompt for ...
0
votes
2answers
182 views

What happens to the mu-plugins folder when you upgrade to Wordpress 3?

I am about to press the "upgrade" button in my Wordpress MU 2.8 install. What is going to happen to the mu-plugins folder? And is there an equivalent way for me to automatically activate a plugin ...
0
votes
2answers
3k views

How can I display custom post types on a page?

What is the code i have to put in the page to show the posts from custom post type?
0
votes
2answers
536 views

Remove_action inside a function

HI there, I want to remove the actions added to wp_head by a plugin but only in certain circumstances. Here is code that doesn't work: if (is_single() && get_post_type() == 'tenant') { $...
3
votes
3answers
984 views

jQuery UI in Admin (Best Practice?)

Maybe someone has prior experience with this, but when I include the jQuery UI 1.8.9 file within my admin_head I break the functionality of the dashboard (i.e. popup for adding featured image, drag ...
1
vote
2answers
3k views

How do you modify the 'post_parent' of a custom post type?

I want to be able to edit the post_parent of a custom post type. Basically in my use case I want to mimic how WordPress uses attachments: have a custom post type that is sort of a subtype to post or ...
44
votes
5answers
33k views

Why is my database import losing text widget data?

I've created a site in WordPress on our development machine. In the theme we're using there are numerous widget zones to display text in (sidebar and front page). I've used simple Text widgets in all ...
0
votes
1answer
1k views

Exclude posts without category from loop

I'm trying to exclude all the posts that doesn't have a category assigned to from the main loop, i searched everywhere and i found a billion ways to exclude some categories or filter from specific ...
4
votes
4answers
3k views

How to add relationships between custom post types?

Let's say i have a sample post called "avatar" in "movie", "trailer", "review" and "details" custom post types. How can i display in the "movie" custom post type the content + links to "trailer", "...
1
vote
2answers
520 views

How to show only terms by id or slug on edit-tags.php (custom taxonomy manage page) for a custom taxonomy

How can I show only terms by id or slug on edit-tags.php (custom taxonomy manage page) for a custom taxonomy. I am saving term_owner metadata to a table for each term and getting all terms' ids for a ...
0
votes
1answer
328 views

Any Good Wordpress Client Like Live Writer To Create Static Pages

I want to publish static pages on Wordpress quickly. Live Writer is a very good client for formatting and publishing blog posts. But I couldn't find a way to use it for publishing static pages. Is ...
0
votes
1answer
193 views

Wordpress MU 2.9.2 to 3.0.5 changes to category.php

In the latest version of WP I see the category.php page is now using edit-tags.php. The version Im running seems to have an issue with the search feature on this page whereas the new version doesnt. ...
2
votes
2answers
571 views

It is possible to get a list of post types asociated to a taxonomy?

I use More Plugin (More Types, More Fields and More Taxonomy) to create custom taxonomies, post types and fields. I've created a select control filled with taxonomies (looping through $wp_taxonomies)....
2
votes
2answers
2k views

Follow post plugins for WordPress

I'm running a Q&A site with wordpress. I am wondering if there is any plugins that add a "follow" button at the end of a post like Quora such that users can follow the post or follow the topic. ...
1
vote
2answers
96 views

Categorising posts/pages into years published

I have a lot of posts/pages, and I would like to create a list in my sidebar, showing all of the years that I have created posts/pages in, so for instance, if I have 5 posts/pages that were spaced out ...
-4
votes
4answers
24k views

how do I change the side bar content?

As of now, my side bar is pretty standard: How can I change it so that it shows tags, recent posts, etc...
3
votes
2answers
2k views

adding custom fields to next and previous post link

Im trying to make my next and previous post buttons display my custom field but for some reason it doesnt display the custom field its just blank. Heres my code. <div id="next-prev-links"> ...
1
vote
1answer
373 views

How do I make my navigation bar link to an external page?

My website is wordswithfriends.net At the moment all of the top navigation menus link to an internal page. I want "Contact Us" to link to an external page ask.wordswithfriends.net How do I do this ...
0
votes
2answers
113 views

How to run a test WordpressMu to Wordpress3 update?

Currently I am running a wordpress MU site with ~100 blogs. It's Wordpress MU version 2.8.x Because it was so heavily used, I was asked not to update to Wordpress 3 right away. The users are ...
0
votes
1answer
565 views

Run a jquery script on on a certain template page

All I want to do is basically this: wp_register_script( 'jquery_zebra', get_bloginfo('stylesheet_directory') . '/library/scripts/jquery.zebra.js', array('jquery')); wp_register_style( 'css_zebra',...
0
votes
1answer
192 views

How to create a custom loop ordered by Categories on a Page Template?

Ex. Category 1 Post 1 Post 2 Post 3 Post .... Category 2 Post 1 Post 2 Post 3 Post .... Category .... Post 1 Post 2 Post 3 Post ....
2
votes
1answer
990 views

get_usermeta() deprecated in favor of get_user_meta(). But why doesn't it make use of it?

While coding WP I just wondered about this simple fact: get_usermeta() is deprecated since version 3.0. The warning suggests me to use get_user_meta(). Even the parameters are pretty similar, I ...
0
votes
2answers
117 views

Does wordpress.com appears in the URL if I buy custom domain service from WP.com

Let's say I buy a custom domain myblog.com and I host at wordpress... if I access the dashboard page on my blog, will it have wordpress.com in the URL? I want to be able to manage my blog behind ...
0
votes
2answers
181 views

Is there ANYTHING about this query that's incompatible with WordPress 2.9.2?

I've been puzzling over this one for two days. Still can't figure it out. I'm testing a theme release in multiple versions of WordPress using xampplite on localhost on a PC. I'm having a problem on ...
1
vote
1answer
1k views

How do I display content to users who are not logged in instead of 404 on Private custom posts?

I want to display a message like "You must be logged in to view this", with Private custom posts. Theoretically, I want to use something like this: if (is_user_logged_in()) { // Page code goes ...
0
votes
2answers
1k views

Own code on index.php wordpress theme file, help with the rewrite rules

Hey there, I am sooo frustrated, asked and asked and can't seem to get an answer. Pleaseeeee help, I'll be very very clean whith my problem. I'll give hundreds of bears to the one who can help:) I ...
2
votes
2answers
2k views

Unable to save custom taxonomy terms in a custom-built metabox

I've roughly followed the tutorial here on how to create "custom taxonomy input panels". I'm using a custom post type of homes and a custom taxonomy called beds (used to record the number of beds in a ...
1
vote
1answer
331 views

having trouble with my list category posts plugin

I'm using the list-category-posts on this page: http://www.goldcoastchamber.com/member-directory/ to pull in the links to all the posts under the member-directory category. That part is working, but ...
2
votes
1answer
485 views

“NOT ONLY IN” taxonomy query operator?

I have multiple users adding content to restricted categories (using RoleScoper) in my WordPress setup that don't show up on the homepage (custom template with query_posts()). I'm looking for a way ...
3
votes
2answers
573 views

how to test for attached image

I am trying to find out whether or not a post has images. If it does, I then want to know if a featured image was specified for the thumbnail - if not, the get_thumb() function will assign an image ...
0
votes
1answer
1k views

How to put page numbers with the next/previous on a post/category list?

Is there a way to add numbering to the latest posts/category listing pages? By default you can put older/newer, but is there a way to add numbering like page 1,2,3,4 of the list so people can skip ...
0
votes
1answer
761 views

Wordpress Theme that returns all posts as a JSON object?

Are there any Wordpress themes that will just return a JSON object that can be processed by Javascript to display a list of postings?
14
votes
4answers
13k views

User registration followed by automatic login

I am using a plugin modified for my purposes. What I am after is after the user has registered for it to automatically log them in and return them to the current page. At the moment it sends them an ...
1
vote
2answers
1k views

Using wp_tag_cloud('format=array') to print tag names without links?

I'm trying to pull just the tag names as an array collection in order to write them out as a simple listing, without links, but the array that's returned does not send the name as an indexible item. ...
4
votes
4answers
4k views

Author page: Comments and Ratings?

I have a mult-author site where the author page gets high traffic. People want to know more about them. I have modified the author page to show more info, some custom fields, etc. but what I'd ...
1
vote
2answers
3k views

Post Via Email - How to send Attachments with it (e.g. PDF File or JPEG Image)?

In regards to the 'Post via Email' feature, does anyone know of a way to send an attachment with it? In this case it would be a PDF document.
2
votes
3answers
3k views

Check if post belongs to any category

In my homepage loop, I have something that will show which category the post is in. It will say something like "Posted 4 hours ago in Sports by ...". However, when there is no category set, it will ...
0
votes
3answers
434 views

WP Insert Post If user refreshes override new post

WP Insert Post is a very simple and easy to use function. Currently I have it set up on event triggered by whether a user is logged in during a booking to ratify their booking in its own page. My ...
-1
votes
3answers
4k views

How to defeat “Blog pages show at most __ posts” setting in the loop?

I'm using this script on my archive.php in order to list a link list of all posts contained in the current category. However, its limiting the result count relative to the number assigned to "Settings ...
0
votes
2answers
4k views

Why is the CSS horizontal alignment for divs inside div container not displayed in my WP Theme?

WP 3.0.4 multisite network enabled, local installation with MAMP, PHP 5.3.2, WP THEME: Twentyten Child (Wordpress Theme) Having trouble with not displaying my CSS styling for horizontal alignment of ...

15 30 50 per page