Removing one a.more-link
-
Hi Nick,
Great Plugin! I’m using it for a second project now and come across something a little different…
One of the main reasons I love the plugin is that it wraps the fpa-more-link in a new div. Although, I am still seeing the other more-link display (I have added a link to a screenshot so it’s a little easier to see what is happening).
https://s28.postimg.org/lkis2c5y5/Screen_Shot_2015_12_04_at_16_31_10.png
In my last project, I used the following PHP to change the class of the more-link:
//* Turn Read More Link Into a Button add_filter( 'get_the_content_more_link', 'button_read_more_link' ); function button_read_more_link() { return '<p><a class="button" href="' . get_permalink() . '"></a></p>'; }
I then used CSS to hide the button (more-link) in the area I was using your Widget.
I can do the above again, it just seemed a little strange… Maybe I am missing something quite obvious?
Thank you in advance…
Tomhttps://www.ads-software.com/plugins/genesis-featured-page-advanced/
- The topic ‘Removing one a.more-link’ is closed to new replies.