Skip to main content

WordPress Development Weekly Newsletter - Thursday, February 26, 2015

WordPress Development Weekly Newsletter

Top new questions this week:

Where are the official i18n WordPress versions stored (SVN)?

I've already checked http://i18n.svn.wordpress.org/, but something seems off. I need official file checksums. I took /ar (Arabic) as an example, and compared all the files in the repository against ...

<localization> <svn>  
asked by Gray Fox 4 votes
answered by kaiser 5 votes

Should I check for ABSPATH in Themes?

I recently browsed WooCommerce source, and it appears that they're doing this: <?php /** * The template for displaying product content within loops. * * Override this template by copying it to ...

<security> <woocommerce>  
asked by Norris 3 votes

Stop WordPress from reserving slugs for media items?

I am experiencing some odd behavior, that apparently happens "out of the box" with WordPress. If I upload a file through the media manager called: services.jpg; then go try to create a page with the ...

<permalinks> <attachments> <media> <slug>  
asked by Matt Keys 3 votes
answered by Matt Keys 2 votes

How to get the oEmbed type (audio, video, image etc.)?

If I embed something with oEmbed, is there a chance to get the type of the embed (video, audio etc.) ? If I look at www.oembed.com I see that in the JSON response there is always the data type. Any ...

<oembed>  
asked by user2190870 3 votes
answered by birgire 1 vote

How should I document function calls?

Reading the WordPress PHP Documentation Standards, I can't see anywhere that mentions how to document a function call such as add_action( 'foo', 'bar' ); Should I be documenting function calls and, ...

<documentation> <coding-standards>  
asked by henrywright 2 votes
answered by ialocin 1 vote

Ship plugin with a custom theme

I need to add a plugin to a theme and enable it automatically once the theme is activated. Would also like to change its settings if possible. This is the plugin I am trying to include: ...

<plugins> <themes>  
asked by user3312508 2 votes
answered by kaiser 6 votes

Filter for "get_post_type_archive_link()"

I tried to find filters or a hook to modify link returned by this function get_post_type_archive_link() I have gone through most of the documentation. I'm not sure it's not there or I'm not able to ...

<custom-post-types> <filters> <hooks> <archives>  
asked by Ittikorn S. 2 votes
answered by cybmeta 2 votes

Greatest hits from previous weeks:

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

I'm using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar. ...

<images> <urls> <avatar>  
asked by aalaap 8 votes
answered by aalaap 17 votes

How can I add an image upload field directly to a custom write panel?

I've added a new page under "Pages" in the wordpress admin, and added several custom fields. I'd also like to be able to add an upload image field to the page editor - is there some way to do this via ...

<wp-admin> <custom-field> <images> <uploads>  
asked by Will 37 votes
answered by MathSmath 79 votes

Can you answer these?

Sort alphabetically by custom field

I'm trying to change the sort order of a custom field in a custom post type. I want it to be be alphabetical by the 'location' name. It's sorting by location, but not keeping them in alphabetical ...

<custom-field> <array> <sort> <meta-value>  
asked by user2993161 1 vote

How to trigger a refresh in the media modal

I'm developing a plugin that adds a new tab to the media modal, and I need to know a way trigger a refresh of the attachments tab so it shows newly added attachments. This is the code I'm using: ...

<attachments> <media> <media-modal> <backbone>  
asked by user1991185 1 vote

Insert Images at Master Uniform Height

I'm trying to figure out a way to insert images from the media library into the post editor at a uniform height... but by selecting one option. For example, I set a height like "300" somewhere (like ...

<images> <shortcode> <media>  
asked by Jon 2 votes
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

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...