Forums

[resolved] Hide AlexKing Share This on Pages (9 posts)

  1. siaush
    Member
    Posted 5 years ago #

    Hi,

    I try to hide AlexKing's Share This plugin links from some of my pages, I wonder how can I do it. Example, I don't want the Share This link to appear on my 'Contact Us' and 'Archive' page.

    Thank you.

  2. moshu
    Member
    Posted 5 years ago #

    Just read the Readme file.

  3. siaush
    Member
    Posted 5 years ago #

    I want to hide it from certain pages, not all pages...

  4. moshu
    Member
    Posted 5 years ago #

    I know.

  5. siaush
    Member
    Posted 5 years ago #

    Erm.. where does it says how I can do that??

  6. moshu
    Member
    Posted 5 years ago #

    In the section called:
    == Template Tags ==

  7. siaush
    Member
    Posted 5 years ago #

    I'm sorry, but I still do not understand how I can hide Share This links on specific pages, can you explain more please?

    Thank you.

  8. moshu
    Member
    Posted 5 years ago #

    You "disable the auto-output" - as it is describe in the Readme.
    Then you add manually the template tags only in the tempklate files where you want it to appear, e.g. index, single, whatever.
    Have 2 Page templates - one with the tag, another one without it. Create your Contact Page, for example, by using the "another" template.
    Based on my experience Pages that are using the default template (page.php) do have the Share this thing. Other Pages that are based on custom template - don't have the gizmo even with the auto-output on...

  9. siaush
    Member
    Posted 5 years ago #

    Ok, thanks for the help ^^.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags