Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


  #1  
Old Apr 8, 2011, 05:53 PM
miki5050
 
9 posts · Apr 2011
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,176 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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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,176 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,176 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.
  #7  
Old Apr 11, 2011, 04:16 PM
miki5050
 
9 posts · Apr 2011
thanks!

miki

Bookmarks

Tags
button, excerpt, read more



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 11:27 PM.


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