Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Fixing WordPress
    In reply to: Show Excerpt
    Thread Starter mayiced

    (@mayiced)

    I have done as suggested above but it is still not working. Below is the code from my functions.php Anyone see anything different that I should change?

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
        	'name' => 'Sidebar left',
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h3 class="widgettitle">',
            'after_title' => '</h3>',
        ));
        register_sidebar(array(
        	'name' => 'Sidebar right',
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h3 class="widgettitle">',
            'after_title' => '</h3>',
        ));
    
    function excerpt_ellipse($text) {
       return str_replace('[...]', ' <a href="'.get_permalink().'">Read more...</a>', $text); }
    add_filter('the_excerpt', 'excerpt_ellipse');
    ?>
    Forum: Fixing WordPress
    In reply to: Show Excerpt
    Thread Starter mayiced

    (@mayiced)

    Can you tell me more about using the more button when adding a new post? Do I just copy the code into the html view or is there a hidden trick to this?

    Forum: Fixing WordPress
    In reply to: Show Excerpt
    Thread Starter mayiced

    (@mayiced)

    Alright so I changed the code in
    index.php from the_content(‘…….’)

    to

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

    It worked but the excerpt post is not showing the “Read the rest of this entry” How can I get the “Read the rest of this entry to show under the excerpt? Looks like I don’t have the category.php but two archive.php files. One is archive.php the other archives.php I did the change in the archives.php but did not see any change.

    Thread Starter mayiced

    (@mayiced)

    anyone, please

    Thread Starter mayiced

    (@mayiced)

    The inner page name is page1 – I put the page in my active theme folder – site is on a test server. What is happening is I keep getting the following error

    Fatal error: Call to undefined function get_header() in /var/www/vhosts/rbizzy.plesk.freepgs.com/httpdocs/testpage.php on line 1

    someone said the issue might be in the my index page which is missing something – I don’t know if that is true because if that was the case the rest of the pages would not load. It is only this new page that I have copied and added to the folder that is not showing.

    Forum: Themes and Templates
    In reply to: Naming Pages

    I’m assuming you mean you want a link to the page to appear in the navigation, correct? If so I’m also looking for the same thing.

Viewing 6 replies - 1 through 6 (of 6 total)