1
vote
2answers
178 views

extra text in Vimeo Embedded videos

For a WordPress site I am working on, there is a jquery slider (based on the coda slider) where videos are presented. All of the videos are from Vimeo. If a video is playing and someone slides to the ...
1
vote
4answers
3k views

is there a quick way to hide category from everywhere?

I want to get rid of some posts, old ones, that I don't really want to keep. I was thinking to create a category named 'old' and use it as a garbage can to trash everything I don't like from old ...
4
votes
3answers
8k views

The correct way of adding TinyMCE editor to custom meta box textarea?

Since Wp 3.2 a lot of changed to TinyMCE and Wordpress and ow I can not find out how to add the Tiny MCE to meta box in Page. This is how it looks when I am not firing up the MCE ...
2
votes
2answers
195 views

WordPress 2.8.5 & 'Responsive Twenty Ten' - error

So, According to the WordPress theme download page; the theme 'Twenty Ten' and it's child theme/plugin 'Responsive Twenty Ten' are compatible with 2.8+ I'm stuck with using 2.8.5 at work, I don't ...
0
votes
2answers
9k views

Custom Post Type Next/Previous Link?

I have a custom post type called portfolio. I need a previous/next link WITHOUT a plugin. Anybody have a solution? Example post: http://themeforward.com/demo2/archives/portfolio/boat <?php ...
0
votes
1answer
205 views

WordPress Multisite Completely FUBAR?

My instance of a WordPress Multisite is completely screwed up. I was having very slow loading times on pages and admin sites. Thought if I upgraded to WordPress 3.2.1 things might (fingers crossed) ...
2
votes
1answer
221 views

how to activate plugin network-wide, and save setting across sites

I am developing a plugin, which will be used on single site, as well as multi-site. How to make plugin active network-wide, code required. Also, how to save settings network-wide?
0
votes
1answer
342 views

create a link to a random post within the current category

I've got some code which creates a nice link to a random post - any way to amend it so that on a category page it selects a post from the current category? thanks, <?php $randomPost = ...
0
votes
3answers
5k views

wpdb->prepare and mysql UPDATE - how is it done?

Trying to set a 'removed' date time in a plugin query but I'm not sure how to use UPDATE SET with $wpdb->prepare. Here's my query: $cur_date = date('Y-m-d G:i:s'); $rows_affected = ...
2
votes
1answer
480 views

Automated adding of one tag to all the posts in a category

I'm currently redesigning a site that has 700+ posts, divided into about 150 different categories. Some categories have 2 posts in them, other categories have 70. Now for every category, I want to ...
0
votes
3answers
4k views

WP-PageNavi gives me a 404 when using WP Query

I see that there are a lot of similar questions here at WPSE, and I've tried many of the suggestions mentioned trying to solve my problem but with no success. I have a category called News. In this ...
1
vote
2answers
432 views

Return value of add_menu_page

I've read this on codex and seem some themes use it but never understood how it worked. (string) $hookname used internally to track menu page callbacks for outputting the page inside the global ...
1
vote
1answer
217 views

one term two taxonomy's?

Anybody got any solutions for this... I'm building an app where I have two heirchical custom taxnomies acting as custom categories. So i've got cat1 and cat2 taxonomy. What I want to do is copy a ...
0
votes
1answer
262 views

Display content from “About Us” page on the Home Page

I have a page called "About Us" with some static content. I want to display that static content on the home page. Would I need to do a custom query that returns the about page, or is there a better ...
10
votes
3answers
3k views

Custom Post Type Slug / Page Slug Conflict - Prevent use of reserved slug on page save?

I have a custom post type of portfolio (slug portfolio) in my theme and all is working well except one thing. When people create a page with a slug of portfolio, eg: example.com/portfolio, the theme ...
0
votes
2answers
1k views

How to register child taxonomies?

Should I register both parent and child as 'hierarchical' => true, if there's no grandchild? If "Movie" is the top level taxonomy, when I register a child, is it as simply as: 'parent_item' => ...
0
votes
1answer
390 views

Plugin to hide image in excerpt

I was looking for a plugin that will enable me to hide an image on the excerpt, but show it on the single post view. Anyone knows if there is any?
1
vote
1answer
62 views

how to identify a multisite installation

I am creating a plugin. I want to add a different options page, based on multisite or single site. I need a code which can identify installation is Multisite or single site.
2
votes
5answers
5k views

Contact Form 7 - Send attachment to submitter?

I have installed the Contact Form 7 plugin on my WP 3.2.1 instance. I have setup a contact form for users to request evaluations. This is all working fine, but I was hoping that when they submitted ...
0
votes
1answer
92 views

What function changes a post's timestamp?

What function changes a post's timestamp? I created a post from frontend script, but I need to add a date picker to set the date of the visit.
1
vote
1answer
408 views

I cannot get pagination to work on my home page code. it keeps displaying the same posts

Please can someone tell me what is wrong with my code and why it keeps showing the same content on the paginated pages? It has two loops.. the first is for the featured post and then the rest of the ...
1
vote
2answers
220 views

Location of twentyeleven theme's option filters?

Hi I'm learning theming options based on the existing theme TwentyEleven. I've come across the following code in inc/theme-options.php return apply_filters( 'twentyeleven_default_theme_options', ...
0
votes
3answers
1k views

How to add meta boxes to Pages

I'm almost complete whit my wp theme an I'm now translating it with the WPML plugin. This is working out great (even all my custom post types and meta boxes :) ), but of course there have to be a ...
1
vote
2answers
2k views

Verify signup via SMS? [closed]

Does anybody know of a plugin available for WordPress that would require a new user to enter their mobile phone number as part of the sign up process? The user would then be sent a verification code ...
0
votes
2answers
734 views

WP-PostRatings - how to make rating show up?

I have Boldy theme on a 3.2.1 instance of Wordpress. I have installed the plugin WP-PostRatings. I want it to show up on my individual posts when posts are viewed individually on a page. I ...
0
votes
1answer
510 views

Custom Post Type / Tab Limit

I've created a site with nine (gulp) custom post types. It's a huge site unsurprisingly. The 9 post types fit on the admin menu but I was wondering if there is a limit to the number of extra post ...
0
votes
1answer
998 views

Displaying taxonomies as category links within sidebar and creating pages for these

I've created a custom post type called 'work' for a portfolio section on the site I am working on at the moment. I have also registered the taxonomy 'workcategories' so that I can assign different ...
7
votes
2answers
2k views

How to create a clone role in wordpress

How to create new role with same capabilities of existing role. Eg: I would like to create a new role with same capabilities of administrator or editor and so on..
2
votes
1answer
312 views

Hook different functions to the same filter conditionally OR Pass additional arguments to existing filter?

Is it possible to hook 3 different functions to the same filter conditionally, like: <?php if(a){ add_filter('the_content', 'fnc_1'); } else if(b){ add_filter('the_content', 'fnc_2'); } ...
0
votes
2answers
110 views

How to querry for an item that saved in an array?

I know how to write querry args for WP_Query if it's a single key : for example, if query posts with the metakey of 'type'-- $query_args['type'] = (array)$type; Now, the problem is-- the item I ...
0
votes
2answers
602 views

Is it possible to check for shortcodes on a page?

Is it possible to check what shortcodes are used on opened page using PHP/WP functions? Why do I need it? I have special div ("#page-navi") on every page and when user uses [portfolio] shortcode I ...
0
votes
1answer
115 views

Minification Plugins break my website

Well, my blog is a bit Image Heavy to say the least. I've been using different types of minification plugins, but they all seem to break my site. When I tell the plugins to compress and join my css ...
0
votes
1answer
129 views

Easy way to update a single translation entry without having to translate

I'm using the "Featured Image" meta box which allows you to attach a secondary thumbail to a post. The title for this box is defined in the Wordpress codebase like so: __('Featured Image') Which ...
0
votes
2answers
460 views

Custom post type pagination error

Another one of these paging errors you see here so often. I searched high and low for a fix but have come up with nada so far. I am paging CPT results using my archive-{$post_type}.php template and ...
0
votes
2answers
412 views

Problem with WordPress output text ('esc_html' & 'wp_richedit_pre')

I have a problem with output text. When I editing text in the WordPress control panel everything looks normal: http://i.stack.imgur.com/GaIut.png but when I output it to the html: <?php ...
1
vote
1answer
939 views

How to list users that have written custom post types and hide the ones that have not?

I'm trying to build an author list that would show all authors that have written a Custom Post Type post, and hide authors that have no posts. With wp_list_authors it would be easy to show users that ...
1
vote
1answer
237 views

Display a post map on a blank/new page

On my single.php file I am displaying the_title(), the_content() and a link to a Google Map (Javascript v3). Lat/Lng coordinates for each location map are held in two separate meta fields attached to ...
1
vote
2answers
968 views

How to process content in a widget? [duplicate]

Possible Duplicate: Is There A Hook To Process The Content Of The Text Widget? I have created a plugin that uses tokens in the body content to dynamically insert certain content. For ...
0
votes
2answers
194 views

Modify pages widget and make a plugin?

I would like to make a plug-in that adds a widget. I would like it to be based on the current pages widget but add the ability to select either include OR exclude by drop down or checkbox then list ...
0
votes
1answer
251 views

Outputting post title without encoding

I'm setting up a way to feed the title of a WP post as the title argument for a reddit button. It works fine unless there is an encoded character in the string: apostrophe&#8217;s break things. ...
3
votes
1answer
1k views

How to paginate the get_users function?

Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result. This is a sample of the function that Im ...
2
votes
1answer
290 views

Where should I store global data for my multi-site WordPress plugin?

I wrote a plugin for WordPress which has a few user-configurable settings that are stored using WordPress's suggested method. I know they are saved in the wp_options table, but that is abstracted by ...
1
vote
3answers
1k views

Category archive by year with permalink support /category/YYYY

I am currently looking at creating a new type of site archive within WordPress that allows users to filter by category AND by year rather than the default category OR year. I am hoping to build a ...
2
votes
1answer
346 views

How to change author base without front

I am currently using this code: function change_author_permalinks() { global $wp_rewrite; $wp_rewrite->author_base = 'connect/member'; } add_action('init','change_author_permalinks'); ...
0
votes
1answer
1k views

Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category

I'm trying to get the terms of a taxonomy (kind) and the number of content they have but only for a specific category (get_parent_page_slug() = city name = category slug). This is what I have so far: ...
1
vote
1answer
279 views

Excluding private/protected posts via IP

I essentially want password protected/private pages/posts in WP to work as they currently do, but completely disregard the functionality for certain IP addresses. I've looked into filters/actions ...
3
votes
1answer
103 views

Can't add a Page with Name 2011

I've no idea why i can't add a Page with Name 2011. Wordpress changes the URL Slug to 2011-01. There is no Post with this Name in my Database. I tried zu flush my rewrite rules but nothing seems to ...
1
vote
0answers
181 views

How to make pagination work not for a whole category but for a part of it? (WP_Query) [closed]

In my example you can see that i have to paginate posts from category 6 with meta_value='izhs' for meta_key='dachaizhs' Now it works like it paginates the whole category, and then exclude from each ...
4
votes
1answer
274 views

How to use the Tag description as the title attribute?

I'm trying to use tags to create a list of cross references for each post and want the tag description to show next to the tag and/or as the title attribute for the hyperlink so the description shows ...
0
votes
1answer
296 views

Image menu showing categories in page

I'm trying to display different images in a page that links to categories. Currently i have a page that shows the categories and the pages for the categories but it needs a slight change. I need to ...

15 30 50 per page