All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

How to default/force the user's display_name to their nickname?

I'm creating a simple directory from the user accounts and want to simplify it as much as possible for the users. I changed the label on nickname to Lastname, Firstname so that the users can be ...
0
votes
4answers
2k views

How can I run multiple unique WordPress sites off of one VPS

Is it possible to run multiple WordPress sites off of a single VPS? These sites would be completely separate as far as users and content, but I don't know if it's possible to have this for two ...
1
vote
3answers
4k views

Display list of tags as drop down menu or radio buttons in a meta box?

I would like to group posts of a custom post type based on tags, but the default functionality does not do for the project I am working on. I want the user to be able to select only one tag, not ...
12
votes
4answers
598 views

Is it necessary to bump a plug-in's version if you're just updating the “Tested up to” attribute?

I've got a number of plug-in's hosted on the wordpress.org svn server ... with the immenent release of 3.1, I would like to update the "Tested up to" meta data. There will be no functional changes to ...
0
votes
2answers
393 views

Displaying page image in the footer automatically

I've got the following problem: each page of the site has its own image which needs to be placed within the footer div for correct, static placement. However each image is different so I can't just ...
2
votes
1answer
866 views

How can I add a field to make link nofollow to the WordPress Link Inspector Window?

The default WordPress insert/edit link inspector window has options for URL, Target, Title and Class. I would like to add a checkbox labeled "Make link nofollow" that, when checked, adds rel="nofollow"...
2
votes
3answers
2k views

Style RSS Feed for a human?

I have a client who is asking to format the RSS feed so the XML doesn't look so ugly. I was thinking of a plugin or something to detect the user-agent and modify the feed template based on a regular ...
1
vote
1answer
796 views

How to filter content on Save/Publish to add rel=“nofollow” to all external links?

I'm looking for a plugin or example of code that can intercept the save/publish event and verify that all external links within the post content have rel="nofollow" attributes. Is it possible to use ...
0
votes
3answers
2k views

Make a select list of a custom post type in a meta box

Simple you will say? I have a first Custom post type called Country. I have a second Custom post type called Travellers. I need to make a drop down select list (multiple check) available when editing ...
3
votes
1answer
2k views

Allowing non-latin characters in registration

I am from Turkey and we have "şŞçÇğĞüÜöÖıİ" characters in our alphabet. I want to use those characters in permalinks/slugs/usernames. I found temporary solution for permalinks/slugs with core-...
0
votes
1answer
215 views

Post with no tag permalink problem

Firstly my problem was the %tag% in the permalink, but I resolved it with this patch: %tag% in permalink not working So my custom structure now looks like this: /%category%/%tag%/%postname%/ And ...
0
votes
2answers
242 views

Can I Update WordPress 2.9.2. to 3.0.4 from admin

I have wordpress site that built in WordPress 2.9.2. I want to update this version in admin its give option for update old version to new that is update to 3.0.4.Can I do that without data loss.I am ...
0
votes
3answers
1k views

How to display retweet count and likes in the meta above the excerpt

There are several plugins that insert buttons to retweet and like into a post. You can see the count of retweets and likes at the top of single blog posts. What I want to do is show the retweets and ...
0
votes
1answer
1k views

How to change the “All Categories” label within the panel of my custom post type?

I just created a custom post type and a custom taxonomy: // === CUSTOM TAXONOMIES === // add_action('init', 'my_custom_taxonomies', 0); function my_custom_taxonomies() { register_taxonomy( ...
0
votes
1answer
9k views

How to edit the Wordpress e-mail that gives the user their password? [duplicate]

Can't find the answer in the codex or on here. Just need to know what file to look in to find the e-mail template. The default e-mail that gets sent upon new user registration has a link which points ...
3
votes
2answers
4k views

Alter query on edit.php

What's the best way to alter the query being run on the Posts Edit screen (edit.php)? The current method I'm using is by passing an argument to the global $wp_query like so: $wp_query->query( ...
1
vote
5answers
11k views

How to get all posts (in chunks) via XML-RPC?

I would like to retrieve all posts of a blog via the XML-RPC API of Wordpress. There are the methods of blogger.getRecentPosts and metaWeblog.getRecentPosts which - given a sufficiently high value as ...
1
vote
1answer
3k views

How do I add a filter to wp_list_categories() to make links nofollow?

How can I add a rel="nofollow" attribute to my category widget listings? I'm currently filtering the call to wp_list_categories with this code in my functions.php... function my_wp_list_categories($...
2
votes
1answer
2k views

Categories assigned to custom post type not found

Here's my issue: I have assigned a custom post type to certain categories. When I search for these categories, either through search or entering the url directly. However, if I assign a normal post ...
0
votes
1answer
93 views

How do I pass the category object to a function when is_archive() is true?

The function below is typically used when inside a loop of categories in order to return each category's description. I'm trying to use it to return the individual category's description when viewing ...
1
vote
2answers
227 views

Critical error in final stage of website launch - URLs are BROKEN!

We developed the wordpress site here: wwww.kirschfamilycomputerservices.com/sam/wheresthefairness ^^ URL does not exist now. When the website was done, we transferred the database & theme over ...
7
votes
3answers
13k views

Quick edit screen customization

Possible Duplicate: How to show custom meta box on "Quick Edit" screen? I'm trying to edit the quick edit screen on my custom post type "visitor" so that I can add some options for my end-users. My ...
2
votes
3answers
17k views

Remove Custom Post Type menu for non-administrator users.

I've been researching this all day and haven't come up with much results. I want to restrict who can see my Custom Post Types by User Level (or some other way). So if the person logged in is not an '...
0
votes
2answers
358 views

Modifying the markup in the Tag Cloud widget?

I need to modify the markup of the tag cloud widget. Can someone tell me how to go about doing this without modifying any of the files outside of the theme directory so my changes don't get ...
32
votes
5answers
47k views

How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?

I'm building a plugin and I want to add bits of javascript in the admin head but only for certain admin pages. I don't mean pages as in a WordPress page that you create yourself but rather existing ...
1
vote
2answers
3k views

How do I remove the link element from the current page in a wp_list_pages menu?

WP makes a list of links, and helpfully applies a current_page class, but I'm concerned with the accessibility issues of a link to the page you're on. Normally I'd swap the <a href etc with a <...
1
vote
1answer
2k views

How can I add a custom “Text” widget to Appearance manager from functions.php?

I'm trying to add a replica of the default WP text widget, with my own css class parameter, to functions.php so that it appears in the widgets manager and can be added to a sidebar. My first attempt ...
1
vote
1answer
504 views

metabox with custom post type values

I need to re-write a current WP website and I think Custom post types are required, combined with Meta Box. The basic layout is Author (custom) Books (custom) Photos (custom) All 3 custom post are ...
1
vote
1answer
857 views

How to remove the current post from the query?

In the function below, I'm trying to remove the current post from the output loop (since this is a list of "related" posts). However, when I try to pass the current post $post->ID to the "...
0
votes
3answers
3k views

Get wordpress taxonomy slug name(s) to use as div class

I'm trying to mark up my posts using their custom taxonomy slug as the div class so that they can be filtered... So far what I have displays the taxonomy name but what I need is the slug so I have a ...
0
votes
1answer
723 views

Display different number of posts from one category on the different pages

according with Pagination with custom loop. I use the custom loop for display flash game. For make a pagination on the page with posts from one category (mydomain/category/categoryName) I used: ...
2
votes
1answer
1k views

Batch Emails with wp_mail()

I've searched all over Google with no luck. Can someone point me in the right direction for learning how to send out batch emails with the wp_mail() function?
1
vote
2answers
2k views

How do I obtain a list of categories assigned to the current post?

The two functions below are designed to return a list of posts that share the same category as the current post being viewed in single.php However, when I var_dump on $cat (should be a list of the ...
0
votes
1answer
812 views

Permalink of a page that has already been deleted

I had a page.. and I by mistake added another one, so the permalink got appended by "-2" at the end. I had to delete one of the pages, so I happened to delete the one without the -2 attached. Now I'm ...
1
vote
1answer
44 views

terms_description and admin problem

Hey hi, I am using a piece of code, where with help of it I can display the description of the term to my archives page. My idea of doing this is simple, I have MBA website and I have 3 custom-...
0
votes
1answer
1k views

How to query details of images in gallery that is attached to a post

I have several images attached to each post. I need to generate a gallery, but because it's heavily customized I don't want to use a gallery plugin, nor the gallery short code. It's also situated in a ...
1
vote
1answer
2k views

plugin for wp_list_categories with posts

Is there a parameter that can be passed to wp_list_categories, to get a certain number of posts from each category? Or a plugin that does something like that? A similar question was in the Wordpress ...
4
votes
1answer
9k views

Custom rewrite rules for pages

I'm trying to get WordPress to recognize a URL structure like this: example.com/parent/page/{id}/{first_name}/{last_name} The basic ideea is that I need to access the id, first_name and last_name in ...
10
votes
6answers
9k views

Best Wordpress Localization Plugin? [closed]

We would like to translate our Wordpress installation into multiple languages. I found the following three plugins: ICanLocalize GTS Translation Straker I heard the ICanLocalize is a bit of a mess. ...
4
votes
2answers
17k views

Uploading files in admin panel?

I want to allow my users to upload files in admin panel, but I'm not sure where should I upload these files and how the script should look like? <p>Please provide link to a file or click "...
0
votes
1answer
145 views

Removing comment option

I am working on a theme that I found here: http://top-wordpress.net/ The theme is Terapy. I turned off comment option in the admin panel, but the blog posts show that "commenting is not allowed". I ...
-1
votes
3answers
2k views

Looking for a related post plugin which slides-in like the one at inc.com does [closed]

Does anybody know a Wordpress "related post" plugin with behavior like the one at inc.com. For a demo, visit any article at inc.com (ex: http://www.inc.com/guides/2010/10/how-to-design-a-great-about-...
0
votes
1answer
990 views

Removing default theme widgets

I am trying to remove the default widgets in a theme that I found here: http://top-wordpress.net/ The theme is Terapathy. In case of some of the most used themes, if I select the custom widgets, the ...
2
votes
2answers
216 views

Single Post Navigation Within Each Category

I have about 10 different category posts etc. As you know, withing each category there is the next and previous navigation to toggle between posts. When you reach the Last post in a category, the ...
3
votes
4answers
11k views

Get FaceBook Friend Count [closed]

Is there a simple PHP or Javascript method of getting the total number of FaceBook friends? Twitter makes it super easy to do that, and I need to do the same for one of my WordPress installs.
25
votes
6answers
63k views

How to correctly include jquery-ui effects on wordpress

I've been trying to include the jquery ui effects (more specifically the shake effect) on my wordpress theme. So far, I've only been able to include the jQuery script, but I really have no clue where ...
1
vote
3answers
307 views

Using author_can() on custom post types in WordPress

I'm trying to conditionally display some content in a theme using custom roles and capabilities. First, I define a custom role: add_role('free_vendor', 'Free Vendor Listing', array('read', '...
1
vote
2answers
236 views

How can I create an “excerpt” with text that won't be displayed in the post itself?

I'm currently creating a new theme for my blog and I intend to make it in a magazine style manner. So, to clarify the question in the title: what I want to do is to create a text assigned to the post,...
2
votes
4answers
2k views

Custom field values repeating

I'm at a loss. I've got a custom meta box with the 'multicheck' code that Jan created. It's working great. My issue now is getting the data to return properly. Scenario: there are 5 possible values, ...
2
votes
2answers
6k views

Custom permalink structure for custom post type

I´m using the following code to create a new post type: /* Create custom post type: "Tilbud" */ register_post_type('tilbud', array( 'label' => __('Tilbud'), 'public' => true, 'show_ui' => ...

15 30 50 per page