WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
[resolved] Remove Post Title Hyperlink (9 posts)

  1. pandeboyce
    Member
    Posted 2 years ago #

    I would like to remove the hyperlink from the post title so that people cannot open the post in a separate page. Love the functionality other than that!

    http://wordpress.org/extend/plugins/tpg-get-posts/

  2. cswaim
    Member
    Plugin Author

    Posted 2 years ago #

    You will have to modify the plugin to remove the hyperlink. At this time removing the hyperlink is not something that will be supported in the basic plugin.

  3. pandeboyce
    Member
    Posted 2 years ago #

    Ok. Ty for your response. I looked for the place to modify that and could not locate it. Can you direct me to the proper file that would need edited.

  4. cswaim
    Member
    Plugin Author

    Posted 2 years ago #

    look in inc/tpg-gp-process.class.php and comment out line 379. I think that should do it. no guarantees without testing :)

    Also see post http://wordpress.org/support/topic/plugin-tpg-get-posts-apply-titlecontent-filters?replies=4#post-2919751 on applying filters to the title. I would suggest you make the change documented in this post to the title code also. I will incorporate the change in the next release.

  5. cswaim
    Member
    Plugin Author

    Posted 2 years ago #

    I am making a change for the title to apply the title filters before displaying. Since I am making the change and testing, I will add an option title_link=true to add the link tags. Setting it to false will suppress the link on the title.

    It will be late today or tomorrow before the changes are done and tested.

    Also, the title filtering is misleading and will not work in cases where you are shortening the title....so, ignore that change.

  6. pandeboyce
    Member
    Posted 2 years ago #

    Awesome! Thank you so much for your accomodation.

  7. cswaim
    Member
    Plugin Author

    Posted 2 years ago #

    1.3.6 is available.

    You caught me between jobs, so I had the time to look at this.

  8. pandeboyce
    Member
    Posted 2 years ago #

    That is so awesome! I have updated the plugin and customized the tags and it works perfectly! I really appreciate it!

  9. pandeboyce
    Member
    Posted 2 years ago #

    Resolved. This is my new favorite plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.