Forums

[resolved] Vinica 1.0.5. by Dannci (15 posts)

  1. blakemoore123
    Member
    Posted 12 months ago #

    I'm trying to upload pictures to my page but you have to go directly to the post before they will appear.

    Heres an example.

    http://www.blakesmoore.com/photos/

    Now click on the word Turkey or Guitar artwork and you will see the pictures.

    I want the images to be displayed ont he homepage like they are on my friends website. http://www.mrdanielknight.com/blog/

    PLEASE help. Thanks

  2. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    Your theme may be using <?php the_excerpt();?> instead of <?php the_content();?> in its template files. Simply edit the relevant template files and replace <?php the_excerpt();?> with <?php the_content();?>.

  3. blakemoore123
    Member
    Posted 12 months ago #

    Thanks Esmi,

    Which files should i be editing? I'm quite new to this.

    Thanks

  4. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    Start with your theme's index.php template file.

  5. blakemoore123
    Member
    Posted 12 months ago #

    I have just searched my index.php file for <?php the_excerpt();?> and nothing in there says this. any ideas?

  6. alchymyth
    The Sweeper
    Posted 12 months ago #

    look again:

    <?php the_excerpt('Read the rest of this entry &raquo;'); ?>

    (the parameter in the brackets does not make any sense, as the function 'the_excerpt()' does not use arguments)

  7. blakemoore123
    Member
    Posted 12 months ago #

    I changed

    <?php the_excerpt('Read the rest of this entry »'); ?>

    to

    <?php the_content('Read the rest of this entry »'); ?>

    and now i get this error when i go to my site

    Fatal error: Call to undefined function get_header() in /websites/123reg/LinuxPackage23/bl/ak/es/blakesmoore.com/public_html/photos/index.php on line 1

    please help!

  8. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    The code change should not have caused this error. Perhaps you inadvertently removed more than you should have?

  9. blakemoore123
    Member
    Posted 12 months ago #

    I'm sure that is all i have changed. I downloaded the theme again and then changed it and still have the same error.

  10. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    What happens if you change it back?

  11. blakemoore123
    Member
    Posted 12 months ago #

    Nothing I get the same error. I'm managed to fix it now by uninstalling and reinstalling but i still need help with the pictures.

    Thanks

  12. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    Then either there's a bug in the theme or you're making a mistake when editing the theme template file.

  13. blakemoore123
    Member
    Posted 12 months ago #

    In the theme i am editing the index.php file. Is that correct?

  14. blakemoore123
    Member
    Posted 12 months ago #

    Okay, I've edited the file okay now but there still is no change?

  15. blakemoore123
    Member
    Posted 12 months ago #

    It's working!! thanks guys!

Reply

You must log in to post.

About this Topic