3
votes
4answers
1k views

Managing and Playing Large videos

I am implementing a blog to share courses, lectures, tutorials or talks. The video sizes might be bit a bit big - so i was wondering what is a good quality plugin for wordpress that would allow to ...
0
votes
2answers
3k views

How to query custom db table?

I am creating my first ever plugin for a membership site. I have a custom table named subscription with a subscr_user_id column whose values are taken from $current_user->ID. So when a current user ...
6
votes
4answers
7k views

Auto-retrieve YouTube Image for Thumbnail?

I have a custom post type that accepts a YouTube embed HTML snippet, title, and a featured image. Currently, I'm going and finding an image for the featured image, but ideally I would be able to ...
2
votes
2answers
855 views

Getting $comments outside the comment template

I have a ajax request hooked on "template_redirect" (the ajax requests the post's url), and I want to display only the comment template: function get_comm(){ if(isset($_GET['get_my_comments'])): ...
10
votes
4answers
2k views

add_image_size() for specific Post Types

set_post_thumbnail_size( 80, 80, true ); // true for all post types Suppose I have two post types in play on my blog: Post, Video and Product. I may want a 80x80 image size for my posts, but 100x100 ...
1
vote
3answers
284 views

Default menu editor with automatic page list

How can I add a page to the menu and define for the menu item that all subpages should be included by means of a simple checkbox?
1
vote
2answers
436 views

How to let a single post have its own domain name

I am not sure which solution here would work best as a solution but what I am looking for is just a simple way to enter an optional domain through a metabox on the page edit screen and then just ...
1
vote
2answers
2k views

How can I make all subcategories use the template of its category parent?

(Satisfying minimum text requirement)
2
votes
3answers
3k views

how do I force a single column layout in screen layout

I am using multipress, but users with small screens cannot access the HTML tab as the Publish meta box has a div that slides above it, disabling the ability to click it. One idea is to force a single ...
2
votes
3answers
4k views

Notify multiple email addresses on comments

Can you recommend a plugin that enables notification on multiple email addresses on posted comments? Looking for a plugin that both notifies a global list of email addresses and the author of the ...
2
votes
1answer
1k views

WP_Query with the “offset” argument

I'm making a custom query for posts using something like: $p = new WP_Query(); $p->query(array('offset' => 30, 'posts_per_page' => 10)); If I have 36 posts on the entire blog, ...
0
votes
1answer
268 views

Conditional Display of Links in Widgets

I want the links widget in my sidebar to display links based on the page the user is on. For example, if the user is on the home page I want it to display link1, link2 and link3. But if the user goes ...
5
votes
3answers
355 views

Steps for Moving Multiple WordPress Installs to a Multisite Install?

(Moderator's Note: Original title was: "Steps to move multiple wordpress installations to a WP MU installation") Any tips on moving multiple WordPress installations to a single Multisite[1] ...
2
votes
3answers
548 views

where to include a php file

I have a php file with some variables which I would like to use. When I include it in the header.php the variables in that file are not recognized at footer.php and some other places. Where is the ...
1
vote
3answers
2k views

Query on custom field count?

I have the following code: <div id="pc" class="smartbar-content"> <ul class="smartbar-items"> <?php $paged = ( get_query_var('paged') ) ...
0
votes
2answers
531 views

How modify the comment content persistently based on $wp_query?

For a plugin, I need to build my own very early post content and comment content filter. Post content/text changing works, i.e. the modifications end up in the client's browser. But my comment ...
1
vote
1answer
1k views

Incompatible Archive. PCLZIP_ERR_BAD_FORMAT (-10)

What causes this error (generated while uploading any theme to this WP site) Unpacking the package… Incompatible Archive. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record ...
0
votes
2answers
2k views

How do you remove a broken theme from WordPress Admin (without FTP or Cpanel)

Is it possible to remove a broken theme from WordPress using only the WordPress dashboard? i.e, without using cpanel or FTP? Background: When you are doing customer support, its rare that you have ...
0
votes
1answer
124 views

What do these phpMyAdmin errors mean on my WordPress databaes?

I'm getting 3 very similar phpMyAdmin errors on one of my WordPress databases. More than one INDEX key was created for column `comment_approved` More than one FULLTEXT key was created for column ...
6
votes
1answer
5k views

How do I customise the new user welcome email

How can I customise the the new user welcome email ? I tried 'http://www.sean-barton.co.uk/wordpress-welcome-email-editor/' however it conflicts with some of the other plugins I need to use, Cimy ...
4
votes
3answers
3k views

How to load and show comments with AJAX instead of pagination?

Is there a plugin that displays comments like this: http://img541.imageshack.us/img541/6541/47905634.jpg when the user clicks "read more", older comments are being appended to the list with ajax.
2
votes
3answers
884 views

Changing Font-Size based on specific Font thru javascript

I am using an 'rtl' font (named as JNN) in horizontal menu bar, which is normal & readable at 18px where as the alternate available 'rtl' fonts (like Tahoma & Arial Unicode MS) on Windows are ...
5
votes
3answers
4k views

Custom permalinks with NextGEN Gallery

i set my wordpress permlink to /%category%/%postname% now i'm using Nextgen Gallery so when i have a gallery in a page it will be something like /cat/page?gallery=10 i want to make it something like ...
4
votes
1answer
2k views

How to use current_user_can()?

Because it's not working for me. This code checks if a user has just registered. I want to redirect him to a custom page if so. Otherwise, redirect him to the homepage or admin page. function ...
1
vote
1answer
820 views

list child page items (1 level with meta keys)

I need to have a index page and it can pull out the title (with link), meta key description and meta key image (meta keys from custom fields) of its child pages, but only one level down. e.g. I have ...
1
vote
1answer
473 views

What URL do you pass to wp_remote_get to load the body of the current post's preview?

In the code below, I'm attempting to get a reference to the body content of the current post's fully rendered preview... $response = ...
3
votes
2answers
1k views

How do I make wp_get_archives show me months where only pages were created?

I am creating a plugin and have a problem, this code gives my all months that post were added: <select name="sdate" id="sdate"> <?php wp_get_archives('format=option'); ?> ...
17
votes
1answer
7k views

Editor can create any new user except administrator

I have set up a WordPress site for a client. The client has the Editor role, however I have installed the Members plugin and given the client the capability to add new users to the WP admin. This is ...
2
votes
3answers
237 views

What type of Google tracking should I use?

I have WP Multisite and now I want to track the different sites. I'm using Multisite Domain Mapping to map www.mysite.com to http://subsite.mysite.com My questions is: a) Do I need to add the same ...
0
votes
2answers
157 views

Dot “.” in option value foobars save options function

My theme options save routine is below. I'm finding that if the $value['id'] being passed from my options array has a period in it, the data does not get passed and the options appear to break at that ...
25
votes
4answers
11k views

Passing Variables through locate_template

While I've typically used include or require on their own to save long term code maintenance I've started to use get_template_part and locate_template as using built in WordPress stuff is always best. ...
1
vote
2answers
492 views

How to get a Jewish/English event calendar on a page in WordPress?

What I need is an event calendar to display both the english and Jewish dates, but have it be based on the hebrew date. With this people could input the date of an anniversary and have it reappear ...
0
votes
1answer
204 views

Searching for one letter returns extra empty post

On my blog WordPress returns an empty post with today's date if I do a search for one letter, e.g. ?s=a or ?s=q Is this a known bug, and how do I fix it?
1
vote
1answer
370 views

How to checkout the wordpress.org plugin repository?

I have problems to checkout the wordpress.org plugin repository via SVN on https://plugins.svn.wordpress.org/. First it starts all looking well: >svn --force checkout ...
0
votes
1answer
754 views

XML Sitemap Generator and 404 problem

I am using yahoo hosting, wordpress 3.0.1 and Google XML Sitemaps (Wordpress Plugin) 3.2.4. This plugin generates sitemap.xml and notify all webmasters successfully. I am able to see sitemap.xml ...
4
votes
1answer
599 views

Custom attachments uploader code. Almost there!

The code below resides in my theme's functions.php and creates a custom upload icon on top of the WordPress content editor, alongside the default upload icon. Images uploaded via this icon get a ...
0
votes
1answer
503 views

Page with posts from category doesn't work

I'm working on my wordpress site, and I want to have a page that shows all posts from the category 'portfolio' on a separate site. I'm using the following technique: ...
0
votes
1answer
1k views

How to exclude “uncategorized” from custom categories widget?

The code below if from my WP plugin which gives a filtered listing of categories excluding the "uncategorized" category from display. However, when the user chooses "Show Hierarchy" from the widget ...
0
votes
3answers
616 views

can I prevent WP users (even admin) from deleting custom categories?

I am writing a plugin where I have custom taxonomy (category). I want to prevent any user from deleting some of custom categories. Is there any way how to do so. Let's say that category with ...
2
votes
1answer
222 views

Should the page cache be refreshed often?

In the w3 total cache there is the option to set the time until the cache is flushed (and thus, recreated on the next time a visitor comes by). My question is, assuming I've got a lot of content on ...
2
votes
5answers
1k views

recommended breadcrumb plugins with possibility for hiding “Home” link

I am using Breadcrumb NavXT plug-in in my pages but now I am facing a problem I need to hide the "Home" link in some pages. I can do that either by hiding it in CSS or by not creating it at all. ...
0
votes
3answers
348 views

a better search?

hi how to create advanced search with out plugin, create with form * Support for "+" (must have) and "-" (must not have) * Search title, content, excerpt, taxonomies or comments (or any ...
0
votes
1answer
343 views

How to add a new variable to blog creation form?

I'm trying to add a new INPUT field to the blog creation form on Buddypress. Adding the front-end element is the easy part. I'm having some hard time trying to save it. The variable is a string, and ...
0
votes
1answer
397 views

404 errors when updating options in admin dashboard

Whenever I try to update my Permalink settings or use the Theme Editor to modify some file, I am redirected to a 404 page. This also happens when I update the All-In-One SEO Pack plugin's settings. ...
1
vote
1answer
1k views

Can anyone recommend a wordpress based CRM/Project Management system or plugin?

Hello I am wandering if anyone can recommend, from first hand experience, a reasonably simple CRM or project management plugin for wordpress. I have read this question on the topic. But am looking ...
1
vote
3answers
192 views

Need help cleaning up a wordpress site after being hacked

Off Topic? Maybe, point me to where this would be On Topic! Hi All, My daughter attends a private school. Recently their wordpress website was hacked and they need some help cleaning it up. I don't ...
1
vote
1answer
379 views

if statement on database query

Part of a voting script I'm working on: I'm checking a custom table in my WP database to see if a user already voted for a post by checking the IP address and the post id. If the user's IP already ...
0
votes
3answers
153 views

Where's did this div element come from?

This div element is causing a big gap on my wordpress page, specifically on the single post page. It's nowhere in the themes, I can't seem to find where this div element is coming from. Have you ...
0
votes
2answers
582 views

Configure paragraph style without editing CSS

Is there a way to change the default text paragraph style in WP without changing CSS by hand? I.e. I need GUI for that. In particular, I want to configure padding height between paragraphs.
0
votes
4answers
3k views

Is there a WordPress widget for my webpage?

I'd like to show a summary of my recent posts on my homepage. (Like the headlines and perhaps a few lines of text.) My site is not running on WordPress. Is there a code snippet for that? Edit: When ...

15 30 50 per page