load plugin with ajax [duplicate]

looking at the html output of the plugin code, i can say u that the plugin loads everything else (textarea and history) with javascript (see all those data- attributes and loading message). Now if the call to function was made on page load(non-ajaxy way), the plugin would have loaded requried javascript files and then things … Read more

Export and import all Plugin options

The Codex suggests that you use wp_load_alloptions instead. I would suggest that you therefore use wp_load_alloptions. That technically answers the question, I think. wp_load_alloptions will pull all of the options out of the options table and your question does not explain why you need to do that. Are you actually needing to pull only your … Read more

Inserting random posts

Combining two different custom post types in one single query, and still being able to control the number of each type of posts to be displayed can be a little tricky. If one single query is used with post_type = array( ‘type1’, ‘type2’…. ), you have to set posts_per_page to a considerably high number. Which … Read more

Customizing Home Page with Pagelines Platform

That is simple is Word Press, regardless of the theme you are using. Dashboard -> Settings -> Reading -> Blog pages show at most This would be better than editing your (child) theme. I am sorry that I went on too much in code editing and forgot the most basic and easy things. But if … Read more

Add page-link after post content. Before plugin

Since FB comment box is within content, to add page link in between actual content and fb comment box, you have to add filter to content that runs before fbcomment filter does. you can do that by using priority argument in add_filter function. You can set any number in priority that is lower to that … Read more