Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter effingpot

    (@effingpot)

    OK sounds fine – sorry to ask but how do I do that?
    thanks
    Mike

    Thread Starter effingpot

    (@effingpot)

    OK making some progress now – I realise I had to add that whole piece of code, which I did and all worked with the 20 per the example. I changed the 20 to 2000 and for text entries I now get more text – but the formatting is lost. (See the ACHTUNG entry).

    For the entries which include a video – like the first one or two, the video is still hidden behind the SEE MORE. I suppose this is only allowing more TEXT when what I am trying to do is not shorten it at all, or shorten by physical length, whatever the content.
    Maybe this excerpt route is the wrong way?
    thanks
    Mike

    Thread Starter effingpot

    (@effingpot)

    Haha – so it looks like you find the post-template.php file and edit it – so far so good!
    From the link you sent it looked like I could change the 55 example to 200 like this – I added the bold stuff. But got an error, so I put it back how it was as I clearly have no clue what I’m doing and could be danger to https://www.friday-fun.com/wordpress where I am building it.

    
    function the_excerpt() {
    	/**
    	 * Filters the displayed post excerpt.
    	 *
    	 * @since 0.71
    	 *
    	 * @see get_the_excerpt()
    	 *
    	 * @param string $post_excerpt The post excerpt.
    	 */
    	<strong>function wpdocs_custom_excerpt_length( $length ) {
        	return 200;</strong>
    	echo apply_filters( 'the_excerpt', get_the_excerpt() );
    }
    
    • This reply was modified 7 years, 10 months ago by effingpot.
    Thread Starter effingpot

    (@effingpot)

    Jose – thanks didn’t know that was there.
    Steve – I’m afraid reading that is leaving me knowing what I don’t know ??
    I’ll go through it a few times but I’m not sure I understand it :-{
    Rgds
    Mike

    • This reply was modified 7 years, 10 months ago by effingpot.
    Thread Starter effingpot

    (@effingpot)

    Yep – thank you – this is quite easy really – just getting used to it.
    thanks again
    rgds
    Mike

    Thread Starter effingpot

    (@effingpot)

    Thank you – adding “www” to the lines you suggested and inserting them all worked fine. Needed the www for some reason.

    One other quickie, the video I used to get to grips with all this says the social icons are acessible via Appeareance -> Themes -> Theme Options but in this release they are not there and I can’t find them anywhere ??

    any idea hwo I find them and add them?
    thanks
    Mike

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