Jump to content
Sign in to follow this  
arthos

I need a featured post but...

Recommended Posts

arthos    0
arthos

looking around all the plgins need a modification on the template page in the loop (?) section. witch template page I have to modify? Im tryng to use "Featured post" Version 1.3.2 by Sovit Tamrkaar

Share this post


Link to post
Share on other sites
nett-ed    0
nett-ed

Use hooks it will make keeping track of your customizations easier. Just paste the following code in your currently active theme's functions.php file all the way at the very end:

		add_action('pagelines_loop_post_end', 'custom_plugin_loop_mod');
	
		function custom_loop_mod() {
			//YOUR PLUGIN'S REQUESTED CHANGES WOULD GO HERE
		}
	

The pagelines_loop_post_end hook used above will add your custom code at the end of the loop. If you wanted to run the code anywhere else within the loop there's a list of hooks that page lines provides specific to the loop area: pagelines_before_theloop pagelines_inside_top_theloop pagelines_inside_bottom_theloop pagelines_after_theloop pagelines_loop_post_start pagelines_loop_post_header_start pagelines_loop_posttitle_start pagelines_loop_post_title_after pagelines_loop_metabar_start pagelines_loop_metabar_end pagelines_loop_before_post_excerpt pagelines_loop_after_post_excerpt pagelines_loop_before_post_content pagelines_loop_after_post_content pagelines_loop_post_end pagelines_loop_clipbox_start pagelines_loop_clip_start pagelines_loop_clipmeta_end pagelines_loop_clip_excerpt_end pagelines_loop_clip_end

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×