Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pezbonoba

    (@pezbonoba)

    Never mind. I figured it out. First I added the image to the media-library, and not only to the wp-content/uploads-folder. Then I just added the whole address, like this.

    <img class="img-responsive" src="https://www.test.dev/wp-content/uploads/2015/08/logo.jpg" width="125px" height="125px"/>
    Thread Starter pezbonoba

    (@pezbonoba)

    First, sorry! The Mr. part was stupid of me!

    Second: Alright, thanks!

    Thread Starter pezbonoba

    (@pezbonoba)

    Thank you Mr. Moderator!

    So, say for example that I don’t want this code, that is found in the footer.php in the parent theme: `
    <div class=”site-info”>
    © <?php echo date(‘Y’); ?> <?php bloginfo( ‘name’ ); ?></div>`

    How should I go about removing that?
    I could just put this code in the child-theme style.css file:

    .site-info {
    display: none;
    }

    Which would make it not display on the website.

    Or I could upload parent-theme file footer.php to my child-theme and just take the code away. That would also solve the problem.

    Or, I could use some function in my empty functions.php file in my child theme to disable the code.

    Which is the prefered way, and why?

    Thread Starter pezbonoba

    (@pezbonoba)

    I tried this:

    function se_athemes_auto_excerpt_more( $more ) {
    	return '';
    }
    add_filter( 'excerpt_more', 'se_athemes_auto_excerpt_more' );

    in the functions.php file. But it did not work.

    In the end i opted for changing the css using this code:

    a.more-link {
    display: none;
    }

    This at least took away the “continue reading”, but obviously it is not helpful to those that wants to change the text.

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