The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
90 views

Which method is faster to get a single post?

If I want to get only a single post with the featured thumbnail. Which of the function is better to use (for the performance) get_post or WP_Query?
0
votes
1answer
70 views

Modifying Wordpress XML-RPC Built-Ins

In short, I want to be able to modify the wp.getPost response to also return additional data, like the permalink. I thought it would be as easy as just calling the same function the xml-rpc code ...
0
votes
1answer
65 views

Get post by Category in custom template

I want get all categor and after that i want get 5 post per category. but my code not work! http://pastebin.com/vxDSGGZk <?php $categories=get_categories(''); foreach($categories as $...
1
vote
0answers
63 views

Formatting get_post content doesn't allow JS content to function properly

I am currently pulling in the latest post on a category page based on which category you click on. When you click on the category "Code Examples" you see this: I am using the Crayon syntax ...
0
votes
0answers
19 views

how do i add an array of objects or an extra field to a wordpress json api core controller?

Is there a way to add an array of objects to a core controller of the json api plugin the core controller i want to modify is 'get_category_index' and it returns these objects id post_count name ...
0
votes
0answers
31 views

How do I match the page title?

I want to hide the editor on a page, depending on what the page title is. I've created this function. But it doesn't hit matches for the page title: $editorless_pages = Array( 'home', 'more-news'...
0
votes
0answers
51 views

getpost content with all formatting for admin pages

All My post usually uses various plugin based data manipulations (Like visual layout, grouping, plugin css, etc) And now I want to render a post content in my admin page. On using following code: $...