BackuPs
Forum Replies Created
-
Forum: Plugins
In reply to: [Genesis Connect for WooCommerce] Move 'woocommerce_archive_description'Hi
add this to the theme functions.php
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 ); add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );Or create a override from the file archive-product.php in the woocommerce/templates folder into a subfolder called woocommerce in your theme folder and move the code
<?php do_action( ‘woocommerce_archive_description’ ); ?>
within that file to another location in the override file.
Best regards,
BackuPsHi
is there a way i can contact you? I can either send you the local host vmware machine and you run it in a vmware player (for which you also need to alter the host file once you know the local ipaddress of the server) or we do a screen share and i show you.
The error notifcation you can see in the website running in a spoof. But for that you have to have access. And i cant put those details in here.
Best regards,
Hi
You mean the strict errors? i need to have a email address in order to send you wp-admin and ftp details
The media insert issue does not occur on the live server. Only in the ubuntu server local host install.
I have the website up and running in a spoof.
Best regards,
Hi
I uploaded the install into a spoof and i cant get the same issue with the media insert. So that must be something on my local host install as it still occurs in there in the same install. Weird i would say.
But the two error messages on the strict standards i have on both installs.
Any suggestion on those?
Thanks
Hi
Turning on debug mode also throws this in the front end of the website
Strict Standards: Static function AdminState::getID() should not be abstract in /public/wp-content/plugins/jw-player-plugin-for-wordpress/admin/AdminState.php on line 108
Strict Standards: Static function WizardState::getTitle() should not be abstract in /public/wp-content/plugins/jw-player-plugin-for-wordpress/admin/WizardState.php on line 50
I could be caused by a time out since i am on a local host and since wp changed the way of checking for updates since 3.7 i see more messages lately.
Hi
the website is on a localhost at the moment
The only way todo that is to put the website in a spoof on a server somewhere and send you ftp and wp-admin logins.
But for that you need to change your host file in order to have access to the website as you need to add the ip address and the server url to that file.
And i need to send you ftp and wp-admin logins for which i need a way to contact you as i cant put these in here.
Thanks.
Forum: Plugins
In reply to: [The Events Calendar] Please update your codeHi
In the new build the issue is not fixed as the suggested code is not added. Do you want me to go to github in order to get that code snippet added so the plugin does not conflict with ajax popup screens themes have to generate their shortcode?
i really dont understand why the provided fix was ignored as it’s a logical to check for if a variable has been set before questioning it’s value.
Best regards,
BackuPsForum: Plugins
In reply to: [The Events Calendar] Please update your codeHi Brook,
This would mean i would have to give you access to my wordpress as the error only shows in the admin area when debug mode is turned on.
The code fix is very straight forward as it checks if $current_screen has any value at all. It will not harm the working implementing as given as it wont affect normal working of your plugin. It will just prevent a notification warning in a premium theme which has build in support for custom post types that are not their own such as your plugin.
It popsup in shortcode generator screens of the theme itself or any other plugin which uses ajax to popup a screen to generate content.
Or you just comment out line 451 in this file
wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php
on your current installed plugin.
The github download does not have this line in that file which was causing the issue
/* Adjust the authorship 'default for post type' text string based on the post type */ $field_defs['authorship']['options']['-'] = sprintf( $field_defs['authorship']['options']['-'], ( ( isset( $options[ 'noauthorship-' . $post_type ] ) && $options[ 'noauthorship-' . $post_type ] === true ) ? __( 'don\'t show', 'wordpress-seo' ) : __( 'show', 'wordpress-seo' ) ) );so commenting out the line 451 by adding two forward slashes in your plugins folder in that file also solves the issue
wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php
//$field_defs['authorship']['options']['-'] = sprintf( $field_defs['authorship']['options']['-'], ( ( isset( $options[ 'noauthorship-' . $post_type ] ) && $options[ 'noauthorship-' . $post_type ] === true ) ? __( 'don\'t show', 'wordpress-seo' ) : __( 'show', 'wordpress-seo' ) ) );Forum: Plugins
In reply to: [WooCommerce] woo commerce does not load the language files any moreI discovered that but the language install question only pops up on the single site install not in a multisite.
So i had to figure this out while creating a test wordpress install on a single server.
Darn.
Thanks anyway for the reply.
Forum: Plugins
In reply to: [Crayon Syntax Highlighter] && gets converted how to avoidso
if (a==1 && b==1) {…}
gets converted to
if (a==1 & # 038;& # 038; b==1) { …}
i added spaces in the # 038;& to mkae them visible.
Hi
Thanks for the feedback i wonder why i need the extra info though as you can see from above code we have a similar solution. I prefer the function check exists and then the option check method and not run the breadcrumbs call and check if the return is empty.
This way i can avoid the array check and calling a option that might (even if the plugin is turned off) or not might exists if the plugin is or not is running anymore.
Thanks anyway i will post on github next time.
I think the problem is caused by this ability which has been added to your plugin.
function wpseo_shortcode_yoast_breadcrumb() { return yoast_breadcrumb( '', '', false ); } add_shortcode( 'wpseo_breadcrumb', 'wpseo_shortcode_yoast_breadcrumb' );Code should be now
<?php if ( function_exists('yoast_breadcrumb') ) { $yoast_links_options = get_option( 'wpseo_internallinks' ); $yoast_bc_enabled=$yoast_links_options['breadcrumbs-enable']; if ($yoast_bc_enabled) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } else { //your own breadcrumbscode; } } ?>Best regards