Results 1 to 9 of 9

Thread: Can someone explaine a ABC way for me on Action Hooks

  1. #1
    Marketplace Seller thesyndicate's Avatar
    Join Date
    Aug 2009
    Location
    The Matrix
    Posts
    1,842
    Thanks
    17
    Thanked 52 Times in 51 Posts

    Can someone explaine a ABC way for me on Action Hooks

    I get that we now have action hooks in the documentations but what i do not get is what do i do with them? I understand they can be used to avoid updating the theme all the time. But can someone explain from A B C what do i have to do with these hooks?


    I love to help out you out but please read this first Have you tried to install in a root domain? Have you tried to Resave permalinks? Have you tried to disable all plug in? Have you tried the default theme of Wordpress?

    ++ If the issue is fixed consider closing the thread and change to solved, thank you for helping us helping you. ++

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    There are a lot of tutorials on the web about hooks.The WordPress codex has an introductory webpage.

  3. #3
    Marketplace Seller thesyndicate's Avatar
    Join Date
    Aug 2009
    Location
    The Matrix
    Posts
    1,842
    Thanks
    17
    Thanked 52 Times in 51 Posts
    Ok that made me somewhat a bit smarter is it possible to create these hooks to show Adsense links at specific places in the classipress theme?


    I love to help out you out but please read this first Have you tried to install in a root domain? Have you tried to Resave permalinks? Have you tried to disable all plug in? Have you tried the default theme of Wordpress?

    ++ If the issue is fixed consider closing the thread and change to solved, thank you for helping us helping you. ++

  4. #4
    coza's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town, South Africa
    Posts
    141
    Thanks
    53
    Thanked 12 Times in 10 Posts
    I second that! Perhaps start small like how would you add a 468x60 banner code only using a hook? (or a h1 command for that matter)?

    Quote Originally Posted by thesyndicate View Post
    I get that we now have action hooks in the documentations but what i do not get is what do i do with them? I understand they can be used to avoid updating the theme all the time. But can someone explain from A B C what do i have to do with these hooks?
    Jobroller: JobsTown

  5. #5
    Marketplace Seller thesyndicate's Avatar
    Join Date
    Aug 2009
    Location
    The Matrix
    Posts
    1,842
    Thanks
    17
    Thanked 52 Times in 51 Posts
    In the wordpress it says to build a plug in to use hooks? it looks a bit over class for me. I thought it was more like place tag some place and done


    I love to help out you out but please read this first Have you tried to install in a root domain? Have you tried to Resave permalinks? Have you tried to disable all plug in? Have you tried the default theme of Wordpress?

    ++ If the issue is fixed consider closing the thread and change to solved, thank you for helping us helping you. ++

  6. #6
    Forum Member nayan007's Avatar
    Join Date
    Nov 2011
    Location
    India
    Posts
    30
    Thanks
    6
    Thanked 1 Time in 1 Post
    Please use this link for your reference :- http://docs.appthemes.com/tag/tutorial/









    __________________
    The world is not enough for me

  7. #7
    Marketplace Seller thesyndicate's Avatar
    Join Date
    Aug 2009
    Location
    The Matrix
    Posts
    1,842
    Thanks
    17
    Thanked 52 Times in 51 Posts
    If you read my post i already checked that one and i did not get any wiser


    I love to help out you out but please read this first Have you tried to install in a root domain? Have you tried to Resave permalinks? Have you tried to disable all plug in? Have you tried the default theme of Wordpress?

    ++ If the issue is fixed consider closing the thread and change to solved, thank you for helping us helping you. ++

  8. #8
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 Posts
    Quote Originally Posted by thesyndicate View Post
    I get that we now have action hooks in the documentations but what i do not get is what do i do with them? I understand they can be used to avoid updating the theme all the time. But can someone explain from A B C what do i have to do with these hooks?
    Seems your in the same boat as I am in regards to trying understand and implement hooks...I've read so much the last couple days on this subject that my eyes are starting to hurt, lol. I am considering adding a child theme as well, but am starting wonder if I even need one as I haven't modified Classipress's template at all. All my mods are function based in order fulfill business requirements, so I would think that just using hooks without a child theme may be the way to go. Yet, most everything I've read doesn't give simple direct instruction on how to use hooks, it's more like getting you understand the benefits of using them, and I do get that part of things. But I would like to know exactly how to use them in relation to implementing modifications.

  9. #9
    Senior Member cjk123's Avatar
    Join Date
    Apr 2012
    Location
    United States
    Posts
    105
    Thanks
    3
    Thanked 23 Times in 13 Posts
    Head over here and have a look at this tut I just shared...
    http://forums.appthemes.com/adding-s...y-using-30732/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. From Where do i change the hooks?
    By TheSyndicate in forum Report ClassiPress Bugs
    Replies: 8
    Last Post: April 25th, 2012, 09:26 PM
  2. CP 3.1 API hooks
    By joniboy in forum Help Using ClassiPress
    Replies: 4
    Last Post: August 15th, 2011, 12:47 PM
  3. [SOLVED] Using hooks to add new footer
    By bigsplash in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: July 21st, 2011, 05:06 PM
  4. appthemes hooks
    By anthonyaj in forum ClassiPress General Discussion
    Replies: 3
    Last Post: July 18th, 2011, 02:18 PM