jramoscarmenates
Forum Replies Created
-
Forum: Plugins
In reply to: [Bing Maps for WordPress] ERROR 404 (Not Found) – mapcontrolI found the solution in the source.
In the file “../plugins/bing-maps-for-wordpress/content.php” search the function __header() and replace the “mapcontrol.ashx?v=6.3”:
function __header()
{
echo '<script type="text/javascript" src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3"></script>';
}
to “mapcontrol.ashx?v=7.0”:
function __header()
{
echo '<script type="text/javascript" src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>';
}
Forum: Plugins
In reply to: [SVG Support] Illegal string offset warning for Height and WidthI have the same problem using:
WP version: 4.8.2 PHP version: 7.0.11-1+deb.sury.org~xenial+1 GD Library: 2.2.3 Server Info: nginx/1.11.3 Theme: Avada Theme version: 5.2.2
The error is:
Warning: Illegal string offset 'width' in /path/wp-includes/media.php on line 988 Warning: Illegal string offset 'height' in /path/wp-includes/media.php on line 989
Muchas gracias, Continuo revisando el plugin y si veo algo nuevo lo subo para git.
Muchas gracias por su tiempo.
Jose Carlos Ramos Carmenates
SaludosHola Jesus,
Estoy interesado en continuar contribuyendo con su plugin. Me pudiese adicionar como contribuidor del plugin?
Muchas gracias de ante mano.
Jose Carlos Ramos Carmenates
Forum: Plugins
In reply to: [WooCommerce] Changing shipping to deliveryI added this code to the function.php on my theme.
You can replace ‘put-here-you-domain-i18n’ by you domain, by default it is ‘woocommerce’ by I recommend change it.
add_filter( 'woocommerce_shipping_package_name' , 'woocommerce_replace_text_shipping_to_delivery', 10, 3); /** * * Function to replace shipping text to delivery text * * @param $package_name * @param $i * @param $package * * @return string */ function woocommerce_replace_text_shipping_to_delivery($package_name, $i, $package){ return sprintf( _nx( 'Delivery', 'Delivery %d', ( $i + 1 ), 'shipping packages', 'put-here-you-domain-i18n' ), ( $i + 1 ) ); }
I hope help you.
Jose Carlos Ramos Carmenates
- This reply was modified 7 years, 7 months ago by jramoscarmenates.
Forum: Plugins
In reply to: [WP Hide & Security Enhancer] Don’t Work the plugins wp-hideSorry but, I don’t use any Apache Service on my server.
Jose Carlos Ramos Carmenates
RegardsI have a same problem, and I need to use the svg, I don’t use png.
Forum: Plugins
In reply to: [WP Hide & Security Enhancer] Don’t Work the plugins wp-hideThis is any proof:
https://drive.google.com/open?id=0B-5_N-IaRvMBaXNNRGwtVkhOUVE
https://drive.google.com/open?id=0B-5_N-IaRvMBXzYxc1IxR0c3X1U
https://drive.google.com/open?id=0B-5_N-IaRvMBVFc1TlRNQmx1MFE
https://drive.google.com/open?id=0B-5_N-IaRvMBUnFrOFZFZGRtdFU
https://drive.google.com/open?id=0B-5_N-IaRvMBNVNkZjlqR1JxVms
- This reply was modified 8 years, 1 month ago by jramoscarmenates.
- This reply was modified 8 years, 1 month ago by jramoscarmenates.
Forum: Plugins
In reply to: Replace get_header() or header.php via pluginThe next solution don’t like me but is an options:
Go to ‘wp-includes/general-template.php’ file and add:
$templates = apply_filters(‘replace_header’, $templates);
In the get_header function the final result function is:function get_header( $name = null ) { /** * Fires before the header template file is loaded. * * The hook allows a specific header template file to be used in place of the * default header template file. If your file is called header-new.php, * you would specify the filename in the hook as get_header( 'new' ). * * @since 2.1.0 * @since 2.8.0 $name parameter added. * * @param string $name Name of the specific header file to use. */ do_action( 'get_header', $name ); $templates = array(); $name = (string) $name; if ( '' !== $name ) { $templates[] = "header-{$name}.php"; } $templates[] = 'header.php'; $templates = apply_filters('replace_header', $templates); //This is the new line. locate_template( $templates, true ); }
And before that you can:
function prefix_new_header() { return 'header-newtmpl.php'; } add_filter( 'get_header', 'prefix_new_header' );
I never modify the source code, I only put here one solution to the problem.
Original Source: https://stackoverflow.com/questions/39661295/get-header-action-not-working/39662513#39662513
Jose Carlos Ramos Carmenates
- This reply was modified 8 years, 2 months ago by jramoscarmenates.
Forum: Plugins
In reply to: [Text Replace] Text replacment in Custom Fields?Please to be more explicit. What do you need?
Thank you.
Jose Carlos Ramos Carmenates- This reply was modified 8 years, 2 months ago by jramoscarmenates.
+1 for develpment Chad Butle. For my it is excelent plugin. It is free!!!