529 reputation
421
bio website madebyraygun.com
location San Diego, CA
age 38
visits member for 4 years, 7 months
seen Apr 21 at 17:32

Photographer, web developer, etc.


Mar
10
comment Retrieving pages with multiple tags using REST API
Re-reading the documentation, my example is clearly wrong. I wonder if posts?type[]=page&filter[tag]=L1&filter[tag]=L2 would work?
Mar
10
comment Retrieving pages with multiple tags using REST API
@MarkKaplun Tags aren't exposed for pages by default, but it's not hard to add them, or any custom taxonomy, to any post type. The WP API should support any mix of post types and custom taxonomies, IMO. It looks like the proper syntax for AND is /posts?type[]=page&tag[]=tag1&tag[]=tag2 Not sure how to do an OR query, though.
Mar
3
comment Install an external plugin within the current plugin
TGM-Plugin-Activation is the right way to go - I've used it before for this exact purpose.
Nov
25
comment Portable Post Links
You might also consider a tool like WP Migrate DB Pro for your migration from staging to production server. Part of the migration process can include a search and replace.
Sep
19
awarded  Self-Learner
Sep
12
awarded  Announcer
Aug
5
comment How do I show data from gravity forms in my template?
Note from the future: here's a plugin that is explicitly for displaying Gravity Forms data on the front-end: gravityview.co
Jul
8
answered Customizing tinyMCE 4 Styles and Format dropdowns
Jul
8
comment TinyMCE format dropdown no longer showing style previews
This still works in 3.9! Thanks so much.
Jul
8
comment How to customize TinyMCE4 in WP 3.9 - the old way for styles and formats doesn't work anymore
The items in the format menu inherit the styles from your editor-styles.css, except for the color styles. If you want the color styles as well, adding this code to the mce_mod() function worked for me: unset($init['preview_styles']);
Jul
2
awarded  Curious
Jul
2
awarded  Popular Question
Apr
1
awarded  Popular Question
Mar
27
awarded  Popular Question
Nov
2
awarded  Enlightened
Nov
2
awarded  Nice Answer
Oct
30
awarded  Popular Question
Aug
27
comment Do I actually need to link my theme's style.css in the theme files
This is what I do as well, works like a charm.
Aug
15
comment How to return results of a get_posts() in explicitly defined order
@PabloKarzin: if you look at the date on the original question, this kind of sorting was not possible in WP_Query until WordPress 3.5. Your update is correct, but it was not possible in 2011.
Jul
30
awarded  Notable Question