Jump to content
Sign in to follow this  
patadura

hook before or after the title of a post

Recommended Posts

patadura    0
patadura

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

 

 


....born to lose... live to win...

Share this post


Link to post
Share on other sites
James B    436
James B

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


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
patadura    0
patadura

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: : (


....born to lose... live to win...

Share this post


Link to post
Share on other sites
James B    436
James B

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


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
patadura    0
patadura

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


....born to lose... live to win...

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Paatadura

 

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


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

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  

×