hossainshakil
Forum Replies Created
-
This problem for defining your shipping area when you will define shipping area there user will able to shop for selected shipping are. When user will try to shopping for outside of your shipping area he or she will see that massage
Forum: Plugins
In reply to: [Crop-Thumbnails] Crop popup not showing up on acf options pageHI Volkmar Kantor,
Crop Featured Image is not serving and it`s not displaying in the media sectionIt is also not working form me
https://prntscr.com/ioukvjadd return false; after 135
wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php- This reply was modified 7 years, 2 months ago by hossainshakil.
- This reply was modified 7 years, 2 months ago by hossainshakil.
HI just i have solve issue
if ( ! $order->get_id() || ! ( $post_object = get_post( $order->get_id() ) ) || ! in_array( $post_object->post_type, wc_get_order_types() ) ) { throw new Exception( __( 'Invalid order.', 'woocommerce' ) ); }
to
if ( ! $product->get_id() || ! ( $post_object = get_post( $product->get_id() ) ) || 'product' !== $post_object->post_type ) { return false; throw new Exception( __( 'Invalid product.', 'woocommerce' ) ); }
return false; is new added
Line #143- This reply was modified 7 years, 5 months ago by hossainshakil.
Yes I got it i0.wp.com jetpack photon and there have page speed issue.
I am using w3 total catch plugin for optimization but when I checking page speed with google with google page speed check it say.
Eliminate render-blocking JavaScript and CSS in above-the-fold content
best pizza ovenForum: Plugins
In reply to: [Simple Share Buttons Adder] LinkedIn share button countsanees and mijncommunicatie
USE this on simple-share-buttons-adder/inc/ssba_buttons.php
// get twitter button
function ssba_twitter($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShareCount) {
$twitterShareText = urlencode(html_entity_decode($strPageTitle . ‘ ‘ . $arrSettings[‘ssba_twitter_text’], ENT_COMPAT, ‘UTF-8’));
$htmlShareButtons = ‘‘;
if ($arrSettings[‘ssba_image_set’] != ‘custom’) {
$htmlShareButtons .= ‘<img src=”‘ . plugins_url() . ‘/simple-share-buttons-adder/buttons/’ . $arrSettings[‘ssba_image_set’] . ‘/twitter.png” title=”Twitter” class=”ssba ssba-img” alt=”Tweet about this on Twitter” />’;
}
else { $htmlShareButtons .= ‘<img src=”‘ . $arrSettings[‘ssba_custom_twitter’] . ‘” title=”Twitter” class=”ssba ssba-img” alt=”Tweet about this on Twitter” />’;
}
$htmlShareButtons .= ‘‘;
if ($arrSettings[‘ssba_show_share_count’] == ‘Y’ && $booShowShareCount == true) {
$htmlShareButtons .= ‘<span class=”ssba_sharecount”>’ . getTwitterShareCount($urlCurrentPage) . ‘</span>’;
}
return $htmlShareButtons;
}
function getTwitterShareCount($urlCurrentPage) {
$htmlTwitterShareDetails = wp_remote_get(‘https://urls.api.twitter.com/1/urls/count.json?url=’.$urlCurrentPage, array(‘timeout’ => 6));
if (is_wp_error($htmlTwitterShareDetails)) {
return 0;
}
$arrTwitterShareDetails = json_decode($htmlTwitterShareDetails[‘body’], true);
$intTwitterShareCount = $arrTwitterShareDetails[‘count’];
return ($intTwitterShareCount) ? ssba_format_number($intTwitterShareCount) : ‘0’;
}Forum: Plugins
In reply to: [Simple Share Buttons Adder] LinkedIn share button countsimple-share-buttons-adder/inc/ssba_buttons.php
you will find this “ssba_linkedin” function
// get linkedin button
function ssba_linkedin($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShareCount) {/ Here Some code
}
$htmlShareButtons .= ”;
// ====================THis is new code for you ====================
if ($arrSettings[‘ssba_show_share_count’] == ‘Y’ && $booShowShareCount == true) {$htmlShareButtons .= ‘<span class=”ssba_sharecount”>’ . getLinkedinShareCount($urlCurrentPage) . ‘</span>’;}
//==================================end =================
return $htmlShareButtons;
}Just i have solve it
Forum: Fixing WordPress
In reply to: 403 Forbidden Error – Can't access website or loginif you are getting this problem there you can take 3 step
1. disable All security plugin
Working ..
if not working next ..
2. use this on your .htaccess
# Stop Apache from serving .ht* files
<Files ~ “^\.ht”>
Order allow,deny
Deny from all
</Files># Protect wp-login
<Files wp-login.php>
AuthUserFile ~/.htpasswd
AuthName “Private access”
AuthType Basic
require user mysecretuser
</Files>working ……..
if it`s not working
3. Cline your .htaccess make it blank and check wp-adminForum: Fixing WordPress
In reply to: Submenu hover is brokenI have check your setting i can,t find any sub menu you need add on your wp menu section
Forum: Plugins
In reply to: [Featured Galleries] How to get images in Front-endHow to show the gallery on my post page.