338 posts
  • Has been part of the Envato Community for over 4 years
  • Located in United Kingdom
  • Made it to the Authors' Hall of Fame
  • Sells items exclusively on Envato Market
+3 more
PaulWinslow says

Hi guys,

I’ve posted an issue to wpquestions that I’m having with a system I’ve created.. there’s a cheeky $10 to grab if you know what the problem is lol :)

http://wpquestions.com/question/show/id/2451

338 posts
  • Has been part of the Envato Community for over 4 years
  • Located in United Kingdom
  • Made it to the Authors' Hall of Fame
  • Sells items exclusively on Envato Market
+3 more
PaulWinslow says

Quick update for anybody who may be interested or may want to help..

If I take away ‘showposts=4’ from the homepage loop it seems to solve it.. I can make a new post to the portfolio post type and my 4 featured/checked projects remain intact.. but I would quite like to keep ‘showposts=4’ in my loop because now if you check more than 4 posts you have unwanted posts stacking up on the homepage..

Any ideas/suggestions?

Cheers!

2588 posts Put a Donk On It
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has sold $250,000+ on Envato Market
+10 more
ThemeProvince says

posts_per_page instead?

338 posts
  • Has been part of the Envato Community for over 4 years
  • Located in United Kingdom
  • Made it to the Authors' Hall of Fame
  • Sells items exclusively on Envato Market
+3 more
PaulWinslow says

I did test that, mate, but the loop then only pulled out 3 of my 4 checked posts which is strange.

I’m sure it is something to do with the loop, though, because my code for the backend is working just fine – the checkbox values are properly stored in the db when you set the posts as featured – but the 4th featured post loses its value whenever I post a new portfolio item. Absolutely racking my brains this one.

Cheers!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by