how to get the post id in plugin
I have a plugin that I’m working on and I’m having trouble getting the post id so jquery can use it. I’m able … Read more
I have a plugin that I’m working on and I’m having trouble getting the post id so jquery can use it. I’m able … Read more
i am trying to create a small time tester that loads at get_header hook and the using the value does something in wp_footer… … Read more
// MOVE REVISIONS METABOX TO BOTTOM OF EDIT-FORM.PHP $post_types = get_post_types(); add_action(‘do_meta_boxes’, ‘batteryboys_reorder_meta_boxes’); function batteryboys_reorder_meta_boxes(){ remove_meta_box( ‘revisionsdiv’, $post_types, ‘normal’ ); add_meta_box(‘revisionsdiv’, __(‘Revisions’), ‘post_revisions_meta_box’, … Read more
Plugin in question: http://dimsemenov.com/plugins/royal-slider/wordpress/ Background: This is a great plugin, and it features a ‘post’ version where the slider pulls content from posts. … Read more
I am using the wpseo_title filter to rewrite the authors page titles from my site. I have the following code in author.php template: … Read more
Trying to grab get_the_category() within the loop and post to the byline within the header. // file1.php <div> <h1><?php the_title(); ?></h2> <?php echo … Read more
I need to capture the current page id, execute some conditional script in footer, in my own plugin function hooks to wp_footer. Here … Read more
In my index page there are two slider one is working fine but the second one is giving some problems. FIRST ONE <?php … Read more
I have a lot of functions extending various plugins and providing logic for a site, functions which use different bits of info that … Read more
In the requirements of Envato I saw that they require a $content_width to be set. I searched for it on the internet but … Read more