pezbonoba
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Logo in header not showing in other pagesNever 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"/>
Forum: Fixing WordPress
In reply to: Change code in child theme – Three different ways?First, sorry! The Mr. part was stupid of me!
Second: Alright, thanks!
Forum: Fixing WordPress
In reply to: Change code in child theme – Three different ways?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?
Forum: Themes and Templates
In reply to: [Fashionistas] Change Continue Reading – How to?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.