All Questions

1
vote
1answer
3k views

Formating the display of a post's date, outside the Loop

I'm using this function to be able to retrieve several data, from outside the Loop: function get_post_data($postId) { global $wpdb; return $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ...
6
votes
1answer
2k views

How Is Network Activate Different From Activate (by Implementation)?

How is plugin network activate different from normal activation by implementation? What is done/not done in network activation that is done/not done in activation?
0
votes
1answer
898 views

Link a custom post type child to a parent using dropdown

I've got a custom post type called wine, this will be the main type, I also have a custom post type called review, I want to be able to associate multiple reviews with a wine and have this controlled ...
0
votes
4answers
1k views

Trick to get custom post types to show up on a custom taxonomy page?

I've setup a custom post type and a custom taxonomy for that post type, but I'm having one problem - on the custom taxonomy permalink pages, the content of the custom post that should be there is not ...
2
votes
1answer
607 views

Redirects from Tumblr to new WP

I migrated a site from Tumblr to WordPress and was able to get all the content over (in pieces) using the FeedWordPress plugin. What I am now trying to do is get the old permalink structure to ...
2
votes
2answers
9k views

sharing video on facebook from wordpress

When a user tries to share a page with an embedded video on it only the title of the pages shows up on their facebook status and not the flash video player. This happens while sharing with the ...
2
votes
2answers
67 views

update Semiologic?

I usually wait for Denis to let us know when to upgrade to the next SP and WP version.. Anyone know? Thanks Miami
3
votes
2answers
2k views

How can I prevent uploading bmp image?

I need to prevent uploading bmp image for user. How can it be possible?
2
votes
2answers
140 views

Unified Approach for Placing Option Pages

Currently, it is up to any plugin's author as to where to put a link to the plugin's option page. I have seen at least the following "solutions": Plugin list Dashboard menu Plugins menu Appearance ...
9
votes
4answers
2k views

Is there a WordPress plugin that registers a plugin file as a custom page template?

I need to create a plugin that makes custom page templates available in wp-admin. I'm wondering if someone has tackled this already, as it seems like a pretty typical process?
2
votes
1answer
595 views

How to handle the Plugin Version on Update using Tortoise SVN and the worpdress.org Plugin Repository?

Recently I tried to update my plugin to WP server. The update to trunk folder went fine, but when I created a folder with a new version under tags folder and tried to upload it, only the immediate ...
0
votes
3answers
2k views

Correctly implementing the Facebook Like button

As per documentation I satisfied all the requirements of the like button by using the meta-tags, however I still don't get the image I would like linked by Facebook: it always goes fishing for another ...
9
votes
1answer
5k views

custom taxonomy and pages rewrite slug conflict gives 404

I'm using the Custom Post Type UI plugin to create my custom taxonomies. I have a portfolio that is made up of projects (custom post type) with 2 custom taxonomies of technologies and clients. The ...
0
votes
1answer
434 views

How to replace “Password Protected” text with icon in Admin

In Wordpress, whenever a post is password protected the backend admin area appends the text in bold "- Password protected" after the post title. What I am looking for is a way to remove this text and ...
7
votes
3answers
518 views

The Essential WordPress Websites / Weblogs? [closed]

I am looking for the essential weblogs / references / sites to place in my bookmark collection / sidebar. Is it possible that add a) either a link to existing bookmark collections b) additional sites ...
1
vote
1answer
4k views

Showing Thumbnail from Previous and Next Posts

Is there a simple way to use the post thumbnail when calling previous_post_link() and next_post_link()?
1
vote
1answer
186 views

Any tools for quickly grabbing comments / comment count?

I am working on an aggregator at the moment for an opt-in blog service. Essential a handful of people submit their WP blogs to the aggregator for, well, aggregation. I am currently using a slightly ...
3
votes
2answers
517 views

System audit plugin? [closed]

Is there a plugin that tracks wordpress admin settings and actions? eg when plugins are activated/deactivated, plugin settings are changed, user settings and permissions changed?
1
vote
2answers
385 views

Getting Post details when post is published

I would like to collect main info about post like Title etc. in moment when post was written and it's going to be published and perform some actions on this data. What's the hook for that? Thanks!
6
votes
3answers
4k views

Filtering categories in the permalink structure

Using /%category%/%postname%/ for the permalink I get a URL string of all the categories that the specific post is included in. I would like the categories in the url to be filtered down to only one ...
6
votes
3answers
7k views

How to remove comment section from page only , not from posts pages?

How to remove comment section from page only , not from posts pages?
7
votes
2answers
2k views

Multiple Custom Metabox Help

I have been trying to get this worked out for over a year and have tried numerous ways and have not been able to get it to work. I'd really appreciate it if someone could help me with this. Here's ...
1
vote
1answer
2k views

Pass variable to nested shortcode

I'm setting up a plugin with a nested shortcode, i.e. [ct_training_group] [ct_training] [/ct_training_group] Here's the catch: I use the [ct_training] code outside of the parent as well as ...
1
vote
2answers
3k views

Query 2 meta key values and a category

I have a wp query that works great - it returns a list of featured posts. WP_Query("category_name=office&meta_key=featured_post&meta_value=Yes&posts_per_page=3"); However I want to add ...
4
votes
1answer
3k views

Changing the URL Structure of a Paginated Custom Post

I have a custom post type for slideshows that creates a paginated post and each slide is a separate page. The data for each slide is saved in the custom fields and each slide has a title set saved in ...
8
votes
3answers
355 views

Getting a peer review for my new plugin?

What is the best way to get an experienced WordPress developer take a look at my plugin and give constructive criticisms? I have written code to solve some of my questions on this site, and I think ...
1
vote
2answers
232 views

Multiple WordPress outside wordPress installation?

I have a main page where i want to show up the latest post content of two or more blogs.. for now I have this code : <?php // Include WordPress Blog 1 define('WP_USE_THEMES', false); ...
3
votes
2answers
2k views

Get the latest taxonomy/category?

I'm designing a custom magazine theme, where categories are used for different sections, and I created a custom "edition" taxonomy. The editor will create a new term in that taxonomy for each new ...
0
votes
1answer
781 views

Using shortcode in template file

this is shortcode in template: function shortcode_frame_left( $atts, $content = null) { return '<span class="frame alignleft">'. do_shortcode($content) . '</span>'; } add_shortcode('...
8
votes
1answer
4k views

Best way to programmatically remove a category/term from a post

I am working on a script to convert all posts in a given category to use a postmeta flag instead (testing of MySQL has shown me that on a site as large as mine this will lead to a meaningful decrease ...
1
vote
1answer
607 views

Conditional PNG Overlay in Custom Post Type Loop Depending on Post Type

I have a loop pulling in two different custom post types. I have that loop showing the thumbnails of posts. Each post type used to have its own seperate loop and I had set up some png overlays to ...
4
votes
2answers
1k views

Should I use is_admin() inside 'admin_init' hook callback

I'm adding an action witht he following line: add_action( 'admin_init', 'fb_init_scripts'); And my function looks like this: function fb_init_scripts() { //Only use these scripts in admin ...
21
votes
4answers
31k views

How To Activate Plugins via Code?

If possible, how can installed plugins (meaning the files have been placed in wp-content/plugins directory) be activated from other plugins?
1
vote
1answer
187 views

How To Modify New Sub Blog Immediately When Super Administrator Creates It?

I want to trigger a function in a plugin when a new sub-blog is created in a multisite set up of WordPress. Is it possible? If so, to which action/filter should I hook? The motivation here is to ...
7
votes
3answers
35k views

How to redirect/rewrite all /wp-login requests

Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin? I have added this entry to my .htaccess file: RewriteRule ^admin /wp-login.php [L] ...
0
votes
1answer
579 views

custom posts permalinks url rewriting

My permalinks are: /%postname% I currently use Custom Post Permalinks to rewrite my permalinks. It work well, but... I dlike to have some url like: www.mysite.com/permalinks_of_my_custom_posts.php >> ...
4
votes
1answer
212 views

What exactly is WordPress?

These are some very basic questions, so I apologize for asking them, but it's hard to understand exactly how some things work without spending dozens of hours experimenting with them. I'm more than ...
3
votes
3answers
4k views

Does changing 'WPLANG' in wp-config.php just effect the admin language or does it have other consequences?

I am curious to know if setting 'WPLANG' in wp-config.php just effects the admin language or does it have other consequences? I run a blog in a foreign language but use English in my admin. I ...
29
votes
2answers
29k views

How To Add Custom Form Fields To The User Profile Page?

The user profile page has the following fields: Username First Name Last Name Nickname Display name Contact Info E-mail Website AIM Yahoo IM Jabber / Google Talk How can more fields be added to ...
5
votes
2answers
1k views

Any plugin out there that uses WP's internal image uploader?

I'm trying to use the media uploader thing from WP (the form from the pop-up with crunching and all that), and can't figure out how. Is there any plugin out there that uses it? It would be easier to ...
0
votes
3answers
947 views

HTML Table creator in metabox to put into post theme

I'm looking for a funcionality of creating HTML Table in metabox in post-editing page to put into post theme with a shortcode or something similar? http://alexrabe.de/wordpress-plugins/wp-table/ is ...
6
votes
2answers
6k views

Attaching media to custom posts without editor

I'm creating a custom post type, "gallery", in which the admin should be able to upload images (these images would be attached to the post). The thing is that the "editor" meta box is disabled for ...
2
votes
1answer
301 views

wordpress 3.0 json issue

im using the media finder plugin which works fine in 2.9 wordpress, but since the 3.0 wordpress, the json sans eval library which the plugin uses works no more. not sure what was involved in the ...
1
vote
3answers
905 views

Subscribe2 widget with choosing categories?

Is it possible to specify the category people can choose to subscribe to in the Subscribe2 (Wordpress Plugin) widget?
3
votes
4answers
822 views

Do Plugins effect site loading time?

Is there any way to measure the time it takes for plugins to load and in which pages they load (without figuring out the entire code)? In addition, I would like to find out which plugins load files in ...
8
votes
4answers
1k views

WordPress forks

Are there any forks of WordPress in existence? Optional subtopics: Why did they fork? Differing design goals? (e.g. HTML5 instead of XHTML-syntax per default) From which version / time did they ...
1
vote
1answer
2k views

Display custom post data in sidebar w/ dropdown

I'm trying to set up a sidebar area that'll do two things: Display a drop-down of posts in a given custom post types. Display post metadata (content and custom fields) if selected post The thing ...
37
votes
12answers
31k views

Is there any way to draft a revision of a published page or post? What workarounds have you used?

Say I've already published a page or post. I now want to make changes, but I want a colleague to check them over before they go live. Is there any way of doing this? Edit: I do realise this isn't ...
4
votes
4answers
8k views

query_posts exclude a meta key

<?php query_posts(array('showposts' => 1000, 'post_parent' => $post->ID, 'post_type' => 'page', 'orderby' => 'title', 'order' => 'ASC', 'meta_key' => featured_product, '...
0
votes
2answers
506 views

Disable some features in Admin

I'd like to open my WP based blog to the general public so they can contribute, so I'm trying to lock-down my WP install. In particular I would like them to be unable to: edit the slug or assign ...

15 30 50 per page