Portfolio Item Options not saving

Hey everyone,

I seem to be having a weird issue with saving the portfolio item options.  It never saves any changes I make, and the weird thing is that the website keeps prefilling with a URL I entered for a client.  I'm not sure if it has anything to do with the fact that I've changed the portfolio slugs to "project" and "project-cat" in the BeTheme Options -> Blog, Portfolio & Shop -> Portfolio screen.

Any help getting this saving again would be greatly appreciated. Also, I'm on the very latest version that's on ThemeForest.

Thanks,
Chris

Comments

  • I've figured out that it isn't actually an issue with how it saves the variables.  I set a header image and I can see it in the postmeta table for that portfolio ID, however when the page loads back up, it doesn't show the image that was selected or any of the data entered in any of the other fields which then causes an issue when you update again as it removes all of the data you set previously from the database.
  • Well, the problem seemed to stem from another meta box using WP_Query and a big bug in Wordpress that makes it so wp_reset_postdata() doesn't work in the admin meta boxes.  Had to switch that meta box to use get_posts w/ setup_postdata instead and then did another setup_postdata with the original $post after the loop.  Really odd.
  • Hi,

    if you are not able to save pages, you must increase max_input_vars on server side because your server is limited. Probably you got default value which is 1000 while should be 5000 or even 10000 if you build pages with large amount of content.

    Thanks!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.