Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

how to add a button after or before "read more" that will show only on excerpt


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 8, 2011, 05:53 PM
miki5050
 
9 posts · Apr 2011
Lightbulb how to add a button after or before "read more" that will show only on excerpt

Hi

I am using Atahualpa 3.6.4

i configured the excerpt to show 500 words and am using the read more tag to break the post

i am trying to install an image button right after the "read more" or right before the "read more" tag so that it will appear only on the excerpt page with the "read more" tag and not on the post itself. the button will be unique for each post

example url - http://internetmarketingindex.net/ca...ing-and-buying


I tried installing TinyMCE Excerpt but i can't seem to find where to edit the excerpt.

thanks for any help
  #2  
Old Apr 8, 2011, 11:10 PM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
The TinyMCE Excerpt plugin I believe gives you a WYSIWYG editor for the excerpt box when editing a post. If you don't see the excerpt box click on the Screen Options link in the upper right and select the Excerpt check box to make it visible.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 9, 2011, 05:28 AM
juggledad's Avatar
juggledad
 
22,315 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
do you have the BUGFIX's installed - especially BUGFIX 364-07: Correction to how Excerpts are processed?

If you have a excerpt size of 500 and the <!--more--> is prior to that, the break will come at the <!--more--> an button after the <!--more--> will not show.

Any button before the <!--more--> will ALways show, excerpt or full page

The only way I can think of doing this is to edit the code processing the <!--more--> and have the button added there. You might be able to add a custom field to every post and put the button HTML in it and then display that button in the code you add.

Oh, you will have to look in the WordPress code to find where it process the function 'get_the_content()' and put your code in there somewhere.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Apr 9, 2011, 08:21 AM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
Or couldn't you add the image button to the manual excepts box?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Apr 11, 2011, 08:11 AM
miki5050
 
9 posts · Apr 2011
thanks alot to both of you lmilesw and juggledad!!

i was able to solve it with the adding the image to the excerpt on a post by post basis.

right before the more tag

http://internetmarketingindex.net/ca...mail-marketing

( lmilesw - the screen options advice was great)


do any of you know a plugin that allows you to insert html into excerpts?

thanks !!

miki
  #6  
Old Apr 11, 2011, 11:00 AM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
If you have the TinyMCE Advanced plugin installed you can add an HTML button to the visual editor which also shows in the TinyMCE Excerpt editor.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Tags
button, excerpt, read more

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Add to cart" excerpt buttons not displaying in IE8. furiousfrog Excerpts, Read more, Pagination 2 Oct 13, 2010 05:15 AM
Don't show "Custom Read More" for manually created excerpts? adum Excerpts, Read more, Pagination 4 Sep 13, 2010 10:50 PM
Customizing "read more" to restart at top of page? DeeM Excerpts, Read more, Pagination 2 Feb 16, 2009 06:54 PM
"read more" link does not appear after the excerpts in category pages vjoseph Excerpts, Read more, Pagination 2 Feb 5, 2009 05:01 PM


All times are GMT -6. The time now is 12:44 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.