702 posts
  • Won a Most Wanted contest
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 100+ members
+5 more
phpbits
says

Hi,

I’ve been trying the redux framework. Seems great but when I used ‘get_post_types’ function. It’s returning core post types only. Does anyone encountered the same too? Thanks

Cheers, phpbits

79 posts
  • Has referred 1+ members
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 7 years
+1 more
SimpleRain
says

phpbits, why not use the data attribute? You can declare data=>’posts’ to run the get_post_types function. Now by default the following defaults are set: ‘public’ => true, ‘exclude_from_search’ => false.

If you want to change those values, just pass the args attribute to change any arguments.

P.S. I’m a co-founder of Redux. ;)

702 posts
  • Won a Most Wanted contest
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 100+ members
+5 more
phpbits
says

Thanks :) . I’ve already found the solution. Also, I’ve send pull requests for the fix for group fields saving. Great framework by the way!

Cheers, phpbits

1851 posts Multimedia Artistry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Contributed a free file of the month
  • Won a Most Wanted contest
+4 more
dnp_theme
says

Have you tried Vafpress Framework? It includes field groups as well and metabox support also.

79 posts
  • Has referred 1+ members
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 7 years
+1 more
SimpleRain
says

@dnp_theme – We talk to the vafpress team often. They have a very good product. ;)

Here are some stats of use: http://reduxframework.com/2014/01/redux-market-impact/

P.S. NHP and SMOF have both merged with Redux. ;)

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