WordPress.org

Ready to get started?Download WordPress

Forums

Spots
[resolved] Make the Spot Title a link (Feature Request) (5 posts)

  1. ErickBenjamin
    Member
    Posted 2 years ago #

    First off, THANK YOU for developing this plugin. It has made my working with WordPress so much easier.

    I have a feature request, If possible can the option to make the Spot Title a link?

    Best,
    Erick

    http://wordpress.org/extend/plugins/spots/

  2. sanchothefat
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    You could do this by adding a template file to your theme called spot-title-link.php

    <h3><a href="http://example.com/"><?php the_title(); ?></a></h3>
    <div><?php the_content(); ?></div>

    You could then select that template for the spot.

    To make the link editable you would have to use something like the advanced custom fields plugin.

  3. ErickBenjamin
    Member
    Posted 1 year ago #

    Very Cool. Thank You!

  4. ErickBenjamin
    Member
    Posted 1 year ago #

    Unfortunately I now have duplicate widget titles for the Spot.

  5. cloudbuilder
    Member
    Posted 1 year ago #

    Does anyone have a fix for this? Adding the code above creates two titles.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic