Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   <?php bfa_excerpt(); ?> is not showing the excerpts (http://forum.bytesforall.com/showthread.php?t=18548)

Heka Oct 3, 2012 09:25 AM

<?php bfa_excerpt(); ?> is not showing the excerpts
<?php bfa_excerpt(); ?> is not showing my excerpts but only the first part of my posts. Can this be fixed easily?

For now I am using <?php the_excerpt(); ?> to show the excerpts that is written for each post but it adds a [read more] link an [...] after the post which don't fit with the theme.

If anyone has a better solution please let me know.


juggledad Oct 3, 2012 09:39 AM

Bfa_excerpt does not display the excerpt field from the post editor, it automatically creates an excerpt starting at the begining of the post for nn words (it defaults to 55)

lmilesw Oct 3, 2012 09:41 AM

I have not tested but perhaps this instead as seen in the Limited PHP list
HTML Code:

<?php the_excerpt(); ?>

Heka Oct 3, 2012 09:57 AM

Thanks for the fast reply.

Now I am using <?php the_excerpt(); ?> and it works but it adds the [read more] link to the post. This [read more] link is not in line with the rest of the excerpt so it looks a little strange.

The <?php the_excerpt(); ?> also adds <p></p> around the excerpt which makes a big break between the thumbnail picture and the text.

It is just minor problems and I can live with it for now. I just hoped that there were an easy way to make <?php bfa_excerpt(); ?> show the real excerpt.

juggledad Oct 3, 2012 10:11 AM

the function the_excerpt() is a wordpress function (you can read about it in the wordpress codex) and the [...] is part of it's output - has nothing to do with the theme.

Heka Oct 4, 2012 02:27 AM

Ok, and thanks, I am still new to wordpress.

All times are GMT -6. The time now is 03:56 PM.

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