0

I`m making a plugin with a widget to show a post that I recommend or mark with a checkbox in the post list.

Question:
I have said in the code that I want to show 2 post per page.
It only show one with thumbnail image and title, and the second one with just a title.
But if I said I want 3 post per page it shows 2 complete with image and title, and the third with only title.
What did I do wrong ?

The files for the plugin is here, if you would take a look.
https://github.com/bjovaar/terplugin

enter image description here

1
  • Welcome to WPSE! Could you please paste your code into an actual code block here, instead of a screenshot?
    – WebElaine
    Mar 7 at 20:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.