Send foreach $_post method to contact form 7 [closed]
-Create a shortcode in wordpress displaying select box with options generated. You can get some ideas from here -now just put new shortcode into contact form Should work well this way
-Create a shortcode in wordpress displaying select box with options generated. You can get some ideas from here -now just put new shortcode into contact form Should work well this way
It’s hard to be sure without he error, but this part of code looks pretty weird: if ( is_post_type_archive( epl_all_post_types() == ‘true’ ) ) { is_post_type_archive gets one param and it should be post type or array of post types. But in your code you pass a logical statement in there (so true or false). … Read more
You should ask your lawyer, never ask legal advice from random people on the net. Regardless of the legal question, it is rarely a smart idea to fork a plugin unless you understand that from that point forward it is your plugin. You can smartly use GIT to manage synchronizing when the original code updates, … Read more
The solution is simple. Look for the JS file in the page source. Once you get to the file, search it for any related ID or CLASS used in the page template and edit it. Hope it clarifies your confusions and helps you make needed edits. Happy coding!
Read up on the documentation for the filter login_redirect And also see the answer to this question already answered I’m not totally sure what you are trying to do with the PIN – is that sent to the user via text/email or displayed on the page? Either way, the page you redirect to would need … Read more
I’m not sure about plugins that would do that, but I can definitely recommend this software: https://poedit.net/ It won’t translate automatically every phrase, but it suggests pretty accurate string translations. The pro version also has the option to retrieve all translation ready strings from a theme or plugin. It lets you to easily update and … Read more
In SQL statement use placeholders instead of variable: %s (string) or %d (number). The second argument of prepare() is array of variables to substitute into the placeholders. $skill_select = $wpdb->get_results( $wpdb->prepare(” SELECT skill_name, char_id, um_id, c.class_id FROM `wp_ml_skill_class` sc JOIN `wp_ml_skill` s ON (s.skill_id = sc.skill_id) JOIN `wp_ml_character` c WHERE c.class_id = %d AND c.char_id … Read more
In digging around this seems to be a bug with WordPress added in 4.9.8. This patch seems to have broken attachment uploads over the REST API on Multisite, because it uses a function from a file that isn’t loaded for REST requests. I’ve reported the bug here. A quick and dirty fix would be to … Read more
Thanks to @kero I have implemented this code: <?php echo do_shortcode(‘[responsivevoice voice=”Italian Female” buttontext=”Ascolta”]’.'<br>’.$bodyContent.'[/responsivevoice]’); ?> The $bodyContent variable contains the HTML value of the article’s body, obtained using this function: http://www.web-templates.nu/2008/08/31/get_the_content-with-formatting/index.html <?php $bodyContent = get_the_content_with_formatting(); ?>
Found the problem, it was caused by ModSecurity module in CPanel. For unknown reasons, it blocks the edit of that WordPress page (only that page). I disabled ModSecurity and works now. I’ll contact my hosting company to see what’s wrong (I cannot make any configuration in my Cpanel for ModSecurity)