Good post Erhan, but the creation of loop.php is somewhat nebulous. Can you expand on "copy your direct loop from index.php file. "? Eg, I was looking at this for the astra theme & couldn't quite figure out the mapping there, since there is no while loop.
I’m Erhan Kılıç, a curious web developer from Turkey who loves to write software applications and websites.
I have been working as a web developer since 2013.
Thanks.
Probably while loop section is at another file. You must check the theme files and find it.
I also suggest you to a create child theme so you don't lose your changes when you update the theme.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good post Erhan, but the creation of loop.php is somewhat nebulous. Can you expand on "copy your direct loop from index.php file. "? Eg, I was looking at this for the astra theme & couldn't quite figure out the mapping there, since there is no while loop.
Thanks.
Probably while loop section is at another file. You must check the theme files and find it.
I also suggest you to a create child theme so you don't lose your changes when you update the theme.