Support » Plugin: Cr3ativ Sponsor » Shortcode: Make logo link to sponsor profile page?

  • Resolved Michael

    (@mischnu)


    Hi there,

    would it be possible to make the sponsor logo link to the sponsor profile page? Or even better: open the sponsor profile in some kind of modal box?

    Thanks,
    Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author akyusa01

    (@akyusa01)

    Hi – I apologize for the delay, we don’t get on our free plugin support as much as we’d like to.

    You would have to customize the shortcode and create a page template. The plugin doesn’t have a single-cr3ativsponsor.php so if you changed the shortcode to use the_permalink(); because there is no page template (single-cr3ativsponsor.php) WordPress would return a 404 error. Customizations are outside the scope of support, but inside cr3ativ-sponsor.php and sponsor-widget.php is the code that brings in all the fields you need.

    So you would need to create a page template for single-cr3ativsponsor.php and then change the cr3ativ-sponsor.php & sponsor-widget.php to add a call in for the_permalink(); when the title was clicked so it would go through to the single page. Currently that title links through to $temp_sponsorurl if you have specified that in the shortcode.

    Thread Starter Michael

    (@mischnu)

    Thanks very much for your detailed explanation! I did it, was easy peasy indeed. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode: Make logo link to sponsor profile page?’ is closed to new replies.