All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Registration Hooks don't appear to be working

I am trying to hook in to automatically sign-in the user after registration. (using a GravityForms registration form). None of the hooks seem to be working. I've tried: gform_user_registered, ...
1
vote
3answers
2k views

get_user_meta Short Profile Section

Ok so i have added a custom field into the users edit profile page where they can add a link to a url of an image they want. I am currently using this for contribitors and above but i also have a ...
3
votes
2answers
14k views

Force wordpress to see uploads folder media

I uploaded the "uploads" folder to my wordpress install manually from a backup with the exact domain. All of the media properties for height and with are the same and they are all visible on the site. ...
1
vote
2answers
1k views

How to enforce the selection of at least one term from a custom taxonomy?

I have a custom taxonomy, and would like to force the user to select at least one term from that taxonomy when creating a post in the WordPress admin back-end. Is this possible?
2
votes
3answers
5k views

How to exclude parent category but show child categories?

I figured out how to exclude the current post from displaying in my single-post view sidebar, but now I want to exclude parent categories and display only children. Any ideas how to do this? Much ...
2
votes
2answers
598 views

Best way to programatically add “rel” attributes to page and post images

For single posts and pages, I would like to add certain rel attributes to all the images on the contained therein added with the "Add Image" functionality on the edit screen. The attribute would be ...
6
votes
6answers
16k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
1
vote
2answers
413 views

Unable to find API Key for my blog

I have the blog http://kracekumar.wordpress.com, I need to find the API KEY of my blog,I clicked on Global Dashboard->My profile,it was mentioned in wordpress site that it will be found in top left ...
0
votes
1answer
551 views

Featured image size per post type

Hi I have several featured image sizes I need to use throughout the site, some of them pertaining to custom post types. Could I set them in some way so that the image sizes are not created for the ...
1
vote
2answers
237 views

How do I specify more than one category?

I am excluding comments from specific categories. However, when I try to exclude more than one, it doesn't work. This works: <?php if (!in_category('7')) comments_template(); ?> This does not ...
0
votes
2answers
2k views

Modify Wordpress to not replace + (plus) characters from URLs?

This is happening in more than one section of our website, but in different yet similar ways. Scenario One: We have a URL structure like this... mydomain.com/some-category/?subject=Some+Subject I'...
4
votes
2answers
2k views

Why aren't sub-categories nested after creating post in the WP Admin?

I have several sub-categories set up. Everything displays properly as far as nesting (see below) when creating a new post. Category 1 --Sub Category 1 --Sub Category 2 --Sub Category ...
2
votes
3answers
1k views

How can I change the frequency of a scheduled event?

I have declared a scheduled event in a plugin like this : function shedule_email_alerts() { if ( !wp_next_scheduled( 'send_email_alerts_hook' ) ) { wp_schedule_event(time(), 'hourly', '...
5
votes
1answer
447 views

What is the difference between WP: template_directory vs TEMPLATEPATH

I am trying to code in more consistent manner and would like to know what is the difference between WP: template_directory vs TEMPLATEPATH.
21
votes
5answers
6k views

How do you use a CPT as the default home page?

I have a client who's site will be making heavy use of custom post types to configure their site. But I'm between a rock and a hard place for their requested home page. In reality, the home page ...
2
votes
2answers
445 views

Allow users to exclude categories? (WP 3.1.2)

How do I let users exclude/include specific categories, so that everything (archives, search, etc) is limited to those categories? I've seen admin-side plugins that let me limit what others see, ...
0
votes
1answer
416 views

How to make each category a subsite?

I have a WP site wp.domain.com, and want to make each category a subsite. EG, foo.wp.domain.com would be a WP site that lists only posts in category 'foo', the search limits itself to category 'foo'...
3
votes
1answer
163 views

How would implement StackExchange 'Questions with similar titles' for the FAQ on my wordpress site

I want to have a FAQ page on my site which has a search box. As the user types in their question, a field below the search box is populated with FAQ answers with similar titles. The exact same ...
3
votes
1answer
161 views

How do I hide tags that have only been used once?

I'm looking to modify my theme so that only tags that have been used more than once show up on the site. Here's my logic, feel free to fault any (and all) of it: There is no point in only using tags ...
1
vote
1answer
72 views

Does an AJAX call on the Admin Side Automatically include the User Data/Capabilities?

I was wondering that if you do an AJAX call on an admin page and I wanted to see if the user had the capability to edit a page, would that info be sent along the call or do I need to manually sent ...
1
vote
1answer
448 views

wordpress custom fields multiple data

i need help with wordpress custom fields currently i store date in one custom field called audio using the "," and "$" example: name, link $ name, link $ etc i have managed to use the data and split ...
0
votes
1answer
207 views

how to create theme based widget that can be drop in sider bar or footer

I am developing a installable theme in wordpress I have created a contact form and called that form in footer but I want to create a widget that should be theme based mean i dont want any plugin.I can ...
1
vote
3answers
293 views

Adding a Javascript slideshow to the home page

I'm trying to add a Javascript slide show to my WordPress home page. In my theme folder I have a js folder and then in that I have jquery.cross-slide.min.js and jquery.min.js. This is what I have and ...
1
vote
3answers
6k views

move blog posts from one wordpress to another

I have a blog in the subdirectory. Last year I installed a new blog in the root basically about the same thing. I like to be able to transfer all my old posts from the blog in the sub directory to ...
2
votes
2answers
703 views

Convert Wordpress.com embed links to normal embeds

I've given the task of moving several well established blogs from wordpress.com into an independent hosting using Wordpress. Wordpress.com uses a special parser for taking stuff like this: [youtube=...
2
votes
1answer
437 views

How to inhibit dashboard and profile management access to normal users?

I am developing a site using Wordpress, phpbb3 and WP phpbb Bridge. Users have to manage their profile through phpbb3 and I would like to inhibit normal users access to page mysite.com/wp-admin/ . ...
2
votes
2answers
4k views

get_current_site() not returning site name

The function get_current_site() that's in my themes' footer.php file doesn't return the 'site name' property as specified in the docs (and expected in the theme). The purpose of the function is to ...
3
votes
2answers
909 views

Mail isn't sent after local site registration

I installed a new WP site on local machine with wamp server. When a new user registers it gets the "registration successful" message but a mail with the password is never sent. Also checked the junk ...
4
votes
1answer
141 views

Will my Wordpress site become vulnerable to Cross-Site Scripting (XSS) if I allow img tags in the comments area?

I'm planning to follow this tutorial in order to allow my subscribers to add images to comments (actually a custom post type called "Replies"). Wordpress filters <img> tags by default (except ...
19
votes
6answers
13k views

Disable front end to use as CMS only?

I'm using the WordPress database and back end to administer the news for my band's website and everything is working great however I'd like to disable the front end of WordPress itself. I have the ...
1
vote
2answers
18k views

How to get only text from wordpress post content?

I have been using wordpress for my projects. For my homepage of the site I need to display limited text from the post content and the content contains images as well. To display the 100 text i have ...
1
vote
2answers
419 views

Image gallery plugin [closed]

Can you recommend a tutorial or a plugin in wordpress that lets you achieve a similar gallery, like this http://www.whitehouse.gov/photos-and-video/photogallery/may-2011-photo-day Large Preview then ...
1
vote
2answers
203 views

Get search term not on searh results page?

I would like to get the last term that was searched, but when not in the search.php page. For that, I know, I could use get_search_query() function, but if user clicks on a post for example, so he is ...
7
votes
0answers
396 views

Wordpress: Can I add categories/tags to all sites in my network at once?

I've installed Wordpress 3.1.2, and have enabled the multi-site network. Each employee in my department can now have their own company blog. I was hoping to provide a bunch of pre-defined categories ...
0
votes
2answers
85 views

Switched server & domain name, now custom post types won't save

I had the site on oldsite.com but was using the database at newsite.com, everything was working great. I moved the site to newsite.com, now when I try adding a new post using a custom post type, it ...
1
vote
2answers
107 views

How to deal with equal & similar arguments for a function?

I'm currently extending my pagination plugin, after a hint by @toscho. So the plugin will now use the same filters, hooks and arguments as the native wordpress pagination functions. My problem is ...
0
votes
1answer
213 views

plus sign not working in widget “Header: Nav Menu”

I installed a new WP site with 3.1.2. The way I set menu/header on my other sites was with the widget "Header: Nav Menu". When I go to that widget now, clicking the + sign to the left of "Items" ...
4
votes
4answers
5k views

Call to undefined function `get_plugin_data()`

I have a class inside a file that i include_once() from the functions.php of my theme. The class can be used as stand alone plugin, or integrated in a theme. Inside the class i want to fill a class ...
1
vote
3answers
3k views

Expanding the allowed HTML tags in comments?

I have no problem doing this in a comment, as an administrator: <b>bold test</b> <i>italics test</i> <u>underline test</u> <font color="#ff9900"> color test&...
0
votes
2answers
532 views

Wordpress translator plugin: Google Webmaster's Tools shows hundreds of 404 not found errors. How to clean the mess?

I had Global Translator Wordpress plugin. It littered Google Search index with thousands of translated urls. Couple of months ago I removed the plugin and also the cached pages on the server. But ...
-1
votes
2answers
116 views

Is there any way to display the link of a Wordpress page without relying in its slug (or full path)?

Say I want to add this link: http://localhost/taiwantalk2/user-login/ Which is a Page with a template called page user-login.php: <?php /** * Template Name: bbPress - User Login * * @package ...
7
votes
2answers
6k views

Any guides on creating custom admin pages?

I basically want to create a table (preferably AJAXified) that lets the user enter a line of information, and be able to add new lines of information, and delete selected ones. I've found this post ...
1
vote
1answer
234 views

Creating a social media score plugin

I'm creating a plugin which counts social scores on various sites. It uses the various API's available on the web to determine a "count" of shares or likes across facebook, twitter, delicious, ...
2
votes
1answer
455 views

get posts and postmetas in assoc array

how do I get all posts and postmetas in an associative array? $allposts = $wpdb->get_results(" SELECT $wpdb->posts.post_title, $wpdb->postmeta.meta_key FROM $wpdb->posts JOIN $wpdb->...
3
votes
2answers
1k views

Favicon plugin for WordPress running in network mode (multisite)? [closed]

What favicon plugin should I use in order to define favicons for Wordpress when I run in multi-site mode. Uploading favicon.ico files is not an option for multi-site wordpress instances. I am ...
3
votes
3answers
4k views

404 error on homepage when using Nginx proxying to Apache

I generally use Nginx to serve static content on my server, with Apache handling PHP content using PHP-FPM. However, I'm not able to get a Wordpress blog homepage to display and I've tried all the ...
0
votes
2answers
2k views

Page Navigation Outside the Loop

I have a series of pages for individual products. I'd like to page between them using a navigation that sits outside of the loop. | | ( <= prev ) | <loop> ...
5
votes
2answers
821 views

A plugin where users can comment with Facebook or Twitter or OpenID [closed]

Is there any plugin where users can comment with Facebook or Twitter or OpenID...
3
votes
4answers
3k views

If Else Gravatar Author Picture

Ok so i have added a custom field inside of the WordPress edit profile field where a contributor and above can add a custom image if they do not use gravatar. Now i am trying to write a if else ...
7
votes
3answers
524 views

Plugin Development: WPMU or WP?

I was thinking, what kind of issues might I face if I port a plugin from WPMU to WP or vice versa. Say I developed a plugin from scratch and wanted that plugin to be compatible with both, should I ...

15 30 50 per page