Archived

This topic is now archived and is closed to further replies.

hook before or after the title of a post

6 posts in this topic

Posted · Report post

It would be interesting to put a hook before and after the title of a post. That way it could be used in places such as newspapers or have better management of the elements of each post.
(sorry for my bad english)

 

Something like this http://www.screencast.com/t/osqoxICe4W0J

 

 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Patadura,

 

There are hooks available in the postloop before the excerpts. Like 'pagelines_loop_before_excerpt'.

 

If you know the html/php code you'd like to enter into the hook you can use the hooker plugin to place it in there (just make sure you follow the instrcutions to enable php use in the hooker plugin).

 

Also hooker is this months free plus product :-)

 

A full list of hooks can be found here - http://api.pagelines.com/hooks

Share this post


Link to post
Share on other sites

Posted · Report post

James, yes, but not what I need, because they do not places the category name over the title. I need a hook, that allows me to put elements before or after the title.

 

actualy its:

 

title

metabar

thumbnail

excerpt

 

i need:

[hook] <----------- I need to place the name of the category of post (or news in my case)
TITLE
metabar
[hook] <----------- I need
thumbnail
[hook] <----------- what you say
excerpt

Hook plugin its free? ufff .. I bought a few months ago :growl: : (

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, I've just checked with the actionmap plugin for you and there is a hook above the title called 'the post' you can hook into.

 

http://screencast.com/t/c8UwBAac2qA

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks James for your effort, but I've tried and does not work because the nesting is incorrect, I put a screenshot so you can watch.

 

http://www.screencast.com/t/S0AaoZygbQW3

You see, as I understand, there is an error in the programming that produces what I say.

Insist that to have more freedom when layout is put a title HOOK before but inside every post.

kind regard

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Paatadura

 

Thanks for getting back to us, I will pass this information on to the developer team to review :-)

Share this post


Link to post
Share on other sites