Catch Form value at AJAX Form submit
Catch Form value at AJAX Form submit
Catch Form value at AJAX Form submit
I had the exact same problem, and I believe that was probably caused because WordPress doesn’t know about the primary category (that is something added by Yoast SEO instead). So is something that in my opinion Yoast SEO should manage, hopefully in next releases they’ll do it. In the meanwhile it looks I’ve smoothly resolved … Read more
This is how I managed a similar situation – to allow logged in authors access to a topics pitch form – using these steps (I’ll add my code examples below): I put the form in a Hidden Div that was visible only to logged in users, if a site visitor was not logged in, instead … Read more
Custom group pattern layout is not showing in posts
PHPWord and DOMPDF: PHP Fatal error: Uncaught Error: Class “Dompdf\Dompdf” not found
Removing custom physical folders with rmdir
Turns out, Divi cannot handle associative arrays, in my case with post id as key and post title as value. Using an indexed array solves the problem. Unfortunately, this is not mentioned anywhere in the documentation. Thus I changed the code in the get_post_options() function from foreach ($posts as $post) { $options[$post->ID] = $post->post_title; } … Read more
Only allow users (that are not admins) to edit a specific post
Yes, this was a CSS issue. See this answer on the WordPress forums for a complete answer. There are two interlocking problems. First, the code style is defined with a more specific selector. Second, the “Additional CSS” is effectively added to the stylesheet at the top, and so the theme’s definition takes precedence. The solution … Read more
How can I add codes to functions.php in WordPress to allow parentheses in slugs, similar to Wikipedia?