-
AuthorPosts
-
July 2nd, 2019 at 18:10 #83737
Hi there
first of all, thank you for creating such an awesome theme. I like it very much. I’ve come very far, customising it. But one thing won’t work.
I changed the loop.php in the parent theme, all changes are visible on the site. When I do that with the loop.php in the child theme, the changes are not visible. It’s as if wordpress is not processing the loop.php from the child theme.
I really would appreciate some help regarding this issue.
keep up the good work!
many thanks
stephanJuly 3rd, 2019 at 11:42 #83770ok. I got it working with this inserted in the functions.php:
get_template_part('includes/loop');but now there is an error: Cannot redeclare verbosa_excerpt_length_words() (previously declared
What I am trying to do is:
Inserting a picture right before the h1 on a site. So I added the following code to the loop.php:
Sorry, I cannot post it here. It consists echo and div-tags and they get filtered out when posting, even if I use the code option
July 3rd, 2019 at 11:43 #83771I’ll try it like this:
div class="featured-bar"></div <?php echo '<div align="center">'; echo '<imgsrc="/wp-content/uploads/2019/07/icon.jpg" align="center">'; echo '</div';July 3rd, 2019 at 12:55 #83773nevermind. I just found out, I should have inserted the code into content-page.php.
sorry to bother.
-
AuthorPosts
The topic ‘loop.php in child-theme’ is closed to new replies.