imads
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Google Fonts] Programatically create controls?Any luck on finding some help here?
Forum: Plugins
In reply to: [Easy Google Fonts] Programatically create controls?Any suggestion is highly appreciated…
Thanks!
Found out what the issue was. Somewhere in the code, in the middle of the loop a file was included with get_template_part() and in that file a function running a new WP_Query was missing wp_reset_postdata(). This caused the global $post to become corrupt.
Since that WP_Query was used to get a random post, this caused comments to be shown for that random post. Sometimes they existed, other times they didn’t.
Problem solved.
Ok so I grabbed the snipped of code from another theme on which image upload/select works without issue and it just won’t work on my. My theme is based on underscores and has pretty much everything enabled if talking of theme support.
So, does anyone have any idea which setting should be enabled further for this to work? Even WP_DEBUG won’t output anything, moreover, the file is uploaded but is not shown in the gallery.
I just don’t find anything different that may be related to image upload in the other theme..