Featured Content Gallery | WordPress Plugin | iePlexus

Making the Text Overlay A Hyperlink

Downloading, installing, upgrading, and configuring the FCG plugin

Making the Text Overlay A Hyperlink

PostBy fixthepig on Wed Feb 18, 2009 8:24 pm

Is there a way that you can make the text overlay, clickable? By this I mean when the post title and preview of content scroll over the picture is there a way to make it linkable back to the article. Right now the only way to get to the featured article is via clicking the picture.
fixthepig
 
Posts: 2
Joined: Wed Feb 18, 2009 8:21 pm

Re: Making the Text Overlay A Hyperlink

Thank you for using the Featured Content Gallery Forum
 

Re: Making the Text Overlay A Hyperlink

PostBy Kris Themstrup on Thu Feb 19, 2009 6:55 pm

HTML is allowed in the "featuredtext" custom field value. Simply put it in there. Hope this helps!
Kris Themstrup
 
Posts: 518
Joined: Fri Jan 16, 2009 1:46 pm
Location: Seattle, WA

Re: Making the Text Overlay A Hyperlink

PostBy fixthepig on Thu Feb 19, 2009 7:37 pm

I got it to work! But is there anyway to get the post Title clickable?
fixthepig
 
Posts: 2
Joined: Wed Feb 18, 2009 8:21 pm

Re: Making the Text Overlay A Hyperlink

PostBy paddler on Mon Feb 23, 2009 8:29 pm

This would be really useful functionality, making the title and/or the overlay a link. Right now, I'm afraid a lot of users won't think to click the image... I suppose some "continue reading" text at the end of the featured text would be a decent workaround, but nonetheless if it wouldn't be hard to do, it sure would be sweet.

Thanks!
paddler
 
Posts: 8
Joined: Mon Feb 23, 2009 6:45 pm

Re: Making the Text Overlay A Hyperlink

PostBy Miak on Tue Mar 03, 2009 2:57 pm

Yes! this would be wonderful. I agree, I usually try to click on text when I see galleries, then I realize I have to clik on images.. but some users don't.
Miak
 
Posts: 1
Joined: Tue Mar 03, 2009 2:54 pm

Re: Making the Text Overlay A Hyperlink

PostBy Kris Themstrup on Wed Mar 04, 2009 12:37 pm

This is possible. Adding an a href to the title in the gallery files would probably work. Let me check it out and see. We're in the middle of finalizing an update, so if we can do it dynamically it will be included.
Kris Themstrup
 
Posts: 518
Joined: Fri Jan 16, 2009 1:46 pm
Location: Seattle, WA

Re: Making the Text Overlay A Hyperlink

PostBy paddler on Fri Mar 06, 2009 9:31 am

Kris - that would be completely awesome. Thanks for the update!
paddler
 
Posts: 8
Joined: Mon Feb 23, 2009 6:45 pm

Re: Making the Text Overlay A Hyperlink

PostBy admin on Fri Mar 06, 2009 2:48 pm

To make your post/page titles to be links, you need to open gallery.php page and find 2 existences of this line:
Code: Select all
<h2><?php the_title() ?></h2>

and replace both with:
Code: Select all
<h2> <a href="<?php the_permalink() ?>" title="Read More"><?php the_title() ?></a></h2>
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Making the Text Overlay A Hyperlink

PostBy asherblack on Sun Mar 08, 2009 9:54 am

Flawless. Thank you. :)
asherblack
 
Posts: 3
Joined: Sat Mar 07, 2009 12:39 pm

Re: Making the Text Overlay A Hyperlink

PostBy paddler on Sun Mar 08, 2009 11:23 am

Works like a charm, many thanks... will this be included in a future plugin version?
paddler
 
Posts: 8
Joined: Mon Feb 23, 2009 6:45 pm

Next

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests

cron