WordPress Development Weekly Newsletter
WordPress Development Weekly Newsletter

Top new questions this week:

Audio or playlist shortcode condition according to the amount of files on attachment page

My reason for doing this is for a music & entertainment site where users will have the ability to share music and videos on other websites via embed code. I'm using the audio.php and video.php ...

<shortcode> <attachments> <count> <audio>  
asked by Chozen 3 votes
answered by birgire 2 votes

How to do a query on custom taxonomies that is uncategorised?

I have a custom taxonomy and I wish to do a query for all custom posts who has no value assigned for that taxonomy (i.e. uncategorised). This is what I have so far: $uncatQuery = new WP_Query( ...

<wp-query> <custom-taxonomy> <query>  
asked by Yahya Uddin 2 votes
answered by Yahya Uddin 0 votes

how do i embed the pdf gallery in wordpress post

I want to show the epaper of newspaper. Is there a way that i can embed a gallery of pdf in post just like the gallery of images

<gallery> <pdf>  
asked by amritanshu 2 votes
answered by birgire 1 vote

How do I change the sql query for wp_get_archive()

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. So how can I change the query for ...

<categories> <archive-template>  
asked by user3848698 2 votes
answered by Pieter Goosen 2 votes

Display only posts from referred category on date archive page

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. Following is the code for my ...

<categories> <archives> <archive-template> <wp-get-archives>  
asked by user3848698 2 votes
answered by Pieter Goosen 2 votes

Password protected page Hash url

I am using owl carosel which takes a hash url to go to a specific slide (http://www.owlcarousel.owlgraphic.com/demos/urlhashnav.html#five) Lets say I want to visit a password protected page with the ...

<urls> <password> <wp-redirect>  
asked by user1370288 2 votes

Why are default comments deprecated?

I am developing a theme and, after calling comments_template(), noticed that "Theme without comments.php is deprecated since version 3.0". I created a comments.php in the root of my theme and copied ...

<comments> <comment-form>  
asked by Marc 2 votes
answered by Rarst 5 votes

Greatest hits from previous weeks:

How to: Easily Move a WordPress Install from Development to Production?

I do development on one box and use a second for production. Right now I just dump the database and then do a find a replace for the URL changes; then copy over the files and import the new SQL. Are ...

<development> <deployment> <production> <staging>  
asked by Ryan Gibbons 131 votes
answered by MikeSchinkel 79 votes

Create custom page templates with plugins?

Is it possible to make custom page templates available from a plugin?

<plugins> <templates> <page-template>  
asked by jnthnclrk 23 votes
answered by Jan Fabry 32 votes

Can you answer these?

wp_insert_post extremely slow on big table, direct query very fast

My posts table is about 600K, and I don't consider this big at all. Anyway wp_insert_post is becoming very slow. I am trying to import a huge list of hotel information into Posts. The list is about ...

<wp-insert-post>  
asked by user1973842 1 vote

post_parent is 0 when uploading new files

I have a custom-type post I'm trying to attach some audio/wav files to using the wp-admin UI. When I upload the new files using the Add Media popup those get saved and embedded into the post just ...

<posts> <uploads> <attachments>  
asked by The Sexiest Man in Jamaica 1 vote

Can you have more than one nonce on a page?

I have a site with a page where there's one form in the sidebar, and one in the main body of the page. The sidebar comes first in the HTML. Both forms have their own nonces (generated with ...

<forms> <nonce>  
asked by williamt 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3