[SOLVED] Excerpt length and content problem
Excerpts are not displaying the content properly on posts that are generated with the Formidable plug in. I managed to get the results display table to keep the table format in the settings (don't strip <table>) but the graphs below it just show the code, and the form itself on another post is not cutting off, or displaying the radio buttons and formatting.
I tried shortening the excerpts; but this only worked on the 'results' post; the form still displays incorrectly and the right sidebar jumps down next to it. Formidable has it's own style component - could this be put into the theme options css inserts? Might be another workaround using static home page; but haven't set that up yet... Any suggestions? |
by default Wordpress strips all HTML from an excerpt and Atahualpa follows that lead. If you add things to the 'don't strip these tags' Atahualpa won't strip them, but the words in the html count as part of the excerpt (a word is all characters seperated by spaces so
HTML Code:
<div ID="myid" class="alignright blue bold"> HTML Code:
<div ID="myid" class="alignright you can eithor create a manual excerpt of increase the size of the excerpt. |
WP 3.4.1
Athualpa 3.7.7 Development testbed: http://markzip.com/category/we-distr...judith-kerman/ I want my excerpts to contain the PayPal button which is towards the top of each post, but WP is skipping right over it and going on to the rest of the excerpt text. I have told atahualpa not to strip the <form> tag and the <a> tag. No luck. Figuring that the button was an image, I told atahualpa not to strip the <img> tag, but then it gave me the full size image associated with the post in addition to the thumbnail size featured image (which the one I like) So, how do I get the excerpts to pull in the PayPal button? |
how are you adding the paypal button? is it part of the post or a plugin?
is the excerpt a manual excerpt or built automatically by atahualpa? |
how are you adding the paypal button? is it part of the post or a plugin?
>>>>>>>>> part of the post. i am migrating very old pages from an old site, but the buttons are up to date, so i'd like to minimize the work and re-use them is the excerpt a manual excerpt or built automatically by atahualpa? >>>>>>>> auto-built For instance, the "category" page at http://markzip.com/category/we-distr...judith-kerman/ contains excerpts of all posts categorized as "judith kerman". post such as: http://markzip.com/plane-surfaces-pl...-johnny-duran/ http://markzip.com/3-marbles-judith-kerman/ http://markzip.com/mothering-dream-o...judith-kerman/ |
What do you have the excerpt length set to?
where is the paypal button located? If the excerpt lenght is set to ...say 55 and the code for the paypal button is at word 60, it won't show up. A word is anygroup of characters seperated by a space so the line HTML Code:
the frog is <a href="http://yourdomain.com">green </a> and hops HTML Code:
the |
Even with the excerpt length set to something ridiculous like 400 word it just sails over the PayPal button code.
Here is an example of code from a post: HTML Code:
Plane Surfaces / Plano de Incidencia - Judith Kerman <em>translated by Johnny Durán</em> HTML Code:
<div class="post-13 post type-post status-publish format-standard hentry category-judith-kerman category-poetry category-translations category-women odd" id="post-13"> I have tried telling Atahulapa to not strip <input type> tags, but that does not help. I tried telling it to not strip <input type="hidden">, but when I went to save Atahaulpa cleared the field and just left <input type= in the field. I suppose I could try to figure a way to generate simple text links to the appropriate Paypal place, but the client is very fond of the buttons, and I can understand why |
in the do not strip these tags, you should have
HTML Code:
<form><input><a><p> |
Thanks. As always, it's difficult to see the forest for the trees.
|
All times are GMT -6. The time now is 10:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.