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)
-   -   [SOLVED] Can't get rid of the_excerpt (http://forum.bytesforall.com/showthread.php?t=19348)

shmish Jan 16, 2013 01:59 AM

[SOLVED] Can't get rid of the_excerpt
 
Hi,
On the front page I'm trying to get rid of the_excerpt and have my full posts show.
I went to /montezuma/admin/default-templates/sub-templates/postformat.php and changed line 19 to
Code:

<?php the_content(); ?>
I also tried
Code:

<?php get_content(); ?>
I also put in the patch that is from the Sticky thread.
Any ideas?

juggledad Jan 16, 2013 05:53 AM

what is the url?

lmilesw Jan 16, 2013 06:05 AM

You need to make the changes in the theme MO>Sub Templates>postformat.php
HTML Code:

<?php the_content(); ?>
is the correct syntax. You can see all the code that can be use in the Limited PHP Code dropdown.

You should avoid changing the theme code where ever possible, edit the virtual templates instead.

shmish Jan 16, 2013 10:56 PM

Quote:

Originally Posted by lmilesw (Post 94982)
You need to make the changes in the theme MO>Sub Templates>postformat.php
HTML Code:

<?php the_content(); ?>
is the correct syntax. You can see all the code that can be use in the Limited PHP Code dropdown.

You should avoid changing the theme code where ever possible, edit the virtual templates instead.

Thanks for the help, I was manually changing the theme code. I changed the virtual template and it's all good.

cheers

jerryc Jan 17, 2013 07:18 AM

Quote:

Originally Posted by shmish (Post 95031)
Thanks for the help, I was manually changing the theme code. I changed the virtual template and it's all good.

For the newbies reading this, changing the virtual template means to edit the template files from the admin area, rather than manually such as via ftp.


All times are GMT -6. The time now is 04:25 PM.

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