Custom Form only for admin

Well, it won’t be easy, but you can do this in this way: Add a Custom Post Type (you can restrict access to this CPT for admin only). Use Advanced Custom Fields plugin and create custom fields template for your Custom Post Type from 1. Create a custom page template and place custom query inside … Read more

Infinite Scroll plugin on Ebuy theme

The page that you have mentioned above has the following markup <div id=”content”> <div class=”box ” id=”post-302″></div> <div class=”box ” id=”post-298″></div> <div class=”box lastbox” id=”post-296″></div> <div class=”box ” id=”post-293″></div> <div class=”box ” id=”post-265″></div> <div class=”box lastbox” id=”post-259″> <div id=”navigation”> <div class=”alignleft”><a href=”http://soballer.com/product/accessories/page/2/”>« Older Entries</a></div> <div class=”alignright”></div> <div class=”clear”></div> </div> </div> Try these: content selector — … Read more

Link Forms on WordPress

You could create a hierarchical custom post type and create a post for each form. Child forms are then set under a parent, their slug or a post meta field connected to the answers of their parent form. When the form is submitted, you use the answer to select the best matching child and the … Read more

Disable plugin function

Whilst you’ve got the right idea, it won’t work in this case. Taking a look at the source code, the class is simply instantiated without an assign. There’s no way to get a hold of $this from outside the class, and so no way for you to remove the hooks it attaches itself to. This … Read more

Plugin used only on some pages – not widget

I solved id by myself. For those who want do the same trick: go to bliss-facebook-likebox plugin folder, edit cool-fb-likebox.php. Near the bottom of file there will be an $url variable. Change: $url = urlencode($get_cfbl_options[‘fbpageurl’]); to: wp_reset_query(); global $post; $site-id = 1; // use your own needed number if( is_page($site-id) || $post->post_parent == ‘.$site-id.’) { … Read more

Infinite Scroll plugin scrolling truly “infinitely” (i.e. does not recognize end of posts)

I think I already had this problem some month ago. It may help you to add the following code to your themes functions.php: http://pastebin.com/KbjS4ZeG The problem in this case was actually located in a wp core function (redirect_canonical() in wp-includes/canonical.php) which tries to “repair” broken/malformed url’s instead of showing an 404 error and ist not … Read more