Featured Content Gallery | WordPress Plugin | iePlexus

How to edit alt text "Read More"

Downloading, installing, upgrading, and configuring the FCG plugin

How to edit alt text "Read More"

PostBy Romsony on Fri Aug 12, 2011 8:44 am

Hi,

First of thanks for this cool plugin.

I just added to my site. I searched on this forum how to edit the alt text "Read More", but could not find anything.

Can you direct me how to get this fixed?
Romsony
 
Posts: 2
Joined: Fri Aug 12, 2011 8:37 am

Re: How to edit alt text "Read More"

Thank you for using the Featured Content Gallery Forum
 

Re: How to edit alt text "Read More"

PostBy admin on Fri Aug 12, 2011 1:50 pm

open file gallery.php and change all "Read More" to whatever you want
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: How to edit alt text "Read More"

PostBy Romsony on Sun Aug 28, 2011 6:45 pm

Hi Yelena,

Thanks for the support.

The file to edit is located in plugins/dynamic-content-gallery-plugin/includes/dfcg-gallery-constructors.php

Thanks for this cool plugin
Romsony
 
Posts: 2
Joined: Fri Aug 12, 2011 8:37 am

Re: How to edit alt text "Read More"

PostBy admin on Tue Sep 06, 2011 9:58 am

I was talking about fcg, you are talking about dynamic content gallery, it is completely different plugin
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: How to edit alt text "Read More"

PostBy bek1985 on Thu Dec 15, 2011 8:50 am

Hi...

Ok with editing Read more title attribute.

I put on the header of my website the following script, as to make title attributes invisible in wordpress:
<script type="text/javascript">
window.onload = function() {
var alinks = document.getElementsByTagName("a");
for (var i = 0; i < alinks.length; i++) {
alinks[i].removeAttribute("title");
}
}
</script>

So, it seems to work great, all over my website and also doesnt conflict with FCG. But putting the mouse cursor on the image field of FCG, a tooltip still appears with the value "false" and not Read More anymore.

Can i get rid of it also;

Any ideas? Is there a prob with alt=" " attribute in img tag?
bek1985
 
Posts: 2
Joined: Thu Dec 15, 2011 8:41 am

Re: How to edit alt text "Read More"

PostBy admin on Fri Dec 16, 2011 8:00 am

the solution is actually much simplier than you can imagine,
you do not need any javascript for it, just open gallery.php file, find all
Code: Select all
title="Read More"

existences and replace it with
Code: Select all
title=""
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: How to edit alt text "Read More"

PostBy bek1985 on Fri Dec 16, 2011 5:07 pm

Hi again and thanks for the answer.

Asking me if that worked, i ll say no...

the tootip "false" stills there. I tried to remove alt="" in gallery.php, but nothing happened too.

Any other ideas?
bek1985
 
Posts: 2
Joined: Thu Dec 15, 2011 8:41 am

Re: How to edit alt text "Read More"

PostBy admin on Mon Dec 19, 2011 10:04 am

open file jd.gallery.js.php and find line
Code: Select all
linkTitle: el.getElement(options.linkSelector).title||false,

replace it with
Code: Select all
linkTitle: el.getElement(options.linkSelector).title,
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


Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests