Howdy @beatbrand – short answer is yes.
You’ll need to copy the posts_loop_template.php file to your theme and edit it there.
The three posts at the top of our support should set you in the right direction:
https://wordpress.org/support/plugin/posts-in-page/
Hint: once you have the file in your theme, you’ll edit to remove lines 9 – 33:
https://github.com/wp-plugins/posts-in-page/blob/master/posts_loop_template.php
The result will look more like:
<!-- Start of Post Wrap -->
<div class="post hentry ivycat-post">
<!-- This is the output of the post TITLE -->
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div>
<!-- // End of Post Wrap -->
Does that help?
Hello Eric
Thanks for your reply.
I think I am on a good way.
I copied the posts_loop_template.php file into the theme and removed the “edit_post_link” function to try it out.
But in the frontend the button “Edit” is still shown.
I tried it once in the Functions.php and once in the index.php file of the theme.
Do I have to change something in the shortcode? I didn’t quite understand that in the three posts. My template is the HitMag pro.
How should the shortcode look like?
Many thanks
Hey @beatbrand – try creating a posts-in-page folder in your theme and putting the updated file in it.
You really shouldn’t need to change anything in the shortcode if you’re trying to pull all posts.
I hope that helps!
Hello @sewmyheadon
I have tried this with the folder in the theme unfortunately it has changed nothing.
The changes are only effective if I make them directly in the plugin. However, this is not recommended.
Hey @beatbrand – I’m going to run a few tests and get back to you.
Hi @beatbrand – I recorded a screencast to show you how to make the edits.
I hope that helps!
Hello Eric
Some small detail I did wrong each time.
But now with this perfect tutorial from you it works perfket.
Thanks a lot for this great help!
I am happy that it works now. Thank you very much.
Kind regards
Beat