alessandroweb
Forum Replies Created
-
Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] I can not manage extra charge in stripeI confirm it doesn’t show anymore with the latest upgrade of Stripe. They have changed something on the visualisation and the hook is no longer there.
Forum: Fixing WordPress
In reply to: Beware New XSS ExploitI have updated to 4.2.2 but I still have this dynamic line of code in my wp-login.php file:
<script type="text/javascript" src="//XXXXX"></script><meta name='robots' content='noindex,follow' />
Forum: Fixing WordPress
In reply to: Beware New XSS ExploitI really cannot find a way to remove it!
Forum: Themes and Templates
In reply to: [Thematic] Documentation?Actually there isn’t much to know. You just need to know how hooks, filters, action and function overriding work. You can find a very little documentation here: https://docs.thematictheme.com/
Resolved by myself:
in the taxonomy-picker-library.php
change these lines (there are two of them):
$result .= "<input name='s' value='' type='text' style='width:90%;'></li>"; // Search text box
into these:
$result .= "<input name='s' value='".esc_html ( stripslashes( $_GET['s'] ) )."' type='text' style='width:90%;'></li>"; // Search text box
Forum: Themes and Templates
In reply to: How to Sorting / Order by multiple custom fields.Resolved by myself. Hope this helps.
function orderbyreplace($orderby) { return str_replace('menu_order', 'mt1.meta_value, mt2.meta_value', $orderby); }
and…
$args = array( 'post_type'=>'Events', 'orderby' => 'menu_order', 'order' => 'ASC', 'meta_query' => array( array( 'key' => 'Start_Hour', 'value' => '', 'compare' => 'LIKE' ), array( 'key' => 'Start_Minute', 'value' => '', 'compare' => 'LIKE' ) ) ); add_filter('posts_orderby','orderbyreplace'); $loop = new WP_Query( $args ); remove_filter('posts_orderby','orderbyreplace');