[SOLVED] Arrow & Javascript animation disappears when writing category description
Hi!
I have allowed category descriptions to appear in category page creating a category.php file with the index.php content and adding Code:
<?php echo category_description( $category_id ); ?> Code:
remove_filter('pre_term_description', 'wp_filter_kses'); Couldn't check if this happened before the changes I did in the code, but deleting the changes didn't solve this issue. The site is www.lavisiondelacalle.com.ar Sorry about my poor english. Thanks! |
an you point to the location on your site where this is happening?
|
Thanks Juggledad but I don't understand what you mean. The link points to the site where it happens.
"Proyectos" category has nothing in the description box, and it's menu item works with arrow and animation. "Servicios" category has some html code and text and it has no animation nor arrow. Both have a subitem so it should display arrow and animation. |
Quote:
Where did you put it? Where did you put the code in post 1 in your copy of index.php? once you add custom code, your beyond forum help. There is no way anyone can guess what you have done |
I solved the issue replacing all breaks (enter key) from the code inside the category description with the </br> tag.
Now Juggledad, I answer your last questions. Copied the content from atahualpa/index.php to a new file atahualpa/category.php (you know, by default there's no category.php in the atahualpa theme). The code Code:
<?php echo category_description( $category_id ); ?> Code:
<?php Code:
<h1>Servicios</h1> Code:
<h1>Servicios</h1></br>Trabajamos con cámaras de resolución Full HD y tomamos sonido de consola, directo o de aire.</br></br><strong><span style="line-height: 1.5em;">Registro de actividades y memorias</span></strong></br></br>Tenga en video del registro de una acción o actividad. Regale a los participantes, distribuya en Internet o revea para evaluar. Charlas, mesas, congresos, exposiciones y trabajos de campo pueden ser el objeto de este servicio.</br></br><strong style="line-height: 1.5em;">Institucionales</strong></br><strong style="line-height: 1.5em;"></strong>Comunique lo que hace su organización mediante gráficos, entrevistas e imágenes de sus actividades.</br></br><strong style="line-height: 1.5em;">Entrevistas y relatos</strong></br>Grabe su mensaje de forma audiovisual.</br><h1>Portafolios</h1> Thanks a lot!!! |
All times are GMT -6. The time now is 11:52 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.