mdshak
Forum Replies Created
-
I would suggest you some css code to use and remove your mentioned code for form.woocommerce-ordering.
@media (max-width: 544px) {
.ast-header-break-point .ast-shop-toolbar-container > :last-child {
float: right !important;
}
form.woocommerce-ordering {
border: 1px solid;
border-radius: 3px;
width: 200px;
height: 35px;
}
form.woocommerce-ordering select {
width: 200px !important;
}
}Forum: Plugins
In reply to: [WooCommerce] Mini Cart item count not visibleYour mini cart item count color is same as background. So It is not displaying any item count at mini cart. I would suggest to use the some CSS code to fix the issue.
You can follow these steps to fix the issue.
- Go to Appearance > Customize.
- Navigate to Additional CSS.
- Add your CSS styles.
span.wc-block-mini-cart__badge{color:#FFF !important;}Forum: Plugins
In reply to: [WooCommerce] Woocommerce 9.6.1 has affected some of my CSSI visited your website and found no issues as you described. Have you resolved the issues?
Sometimes a new upgrade causes a few CSS bugs owing to browser cache. It vanishes after clearing the cache.If you are still facing the issue. So Please provide the screenshots of issues to get and I will provide the exact solution.
You can try this code with new hook template_include. This will work definitely.
function assign_category_template($category_template) {
if (is_single()) {
global $post;
if ('post' !== $post->post_type) {
return;
}
// Define category-to-template mappings
$categories_to_templates = [
'motherhood' => 'single-motherhood',
'business' => 'single-business',
'lifestyle' => 'single-lifestyle'
];
foreach ($categories_to_templates as $category => $template_slug) {
if (has_category($category, $post_id)) {
$category_template = locate_template($template_slug.'.php');
}
}
}
return $category_template;
}
add_filter('template_include', 'assign_category_template');If tests are not running, check the GitHub Actions logs for any errors or misconfigurations. Ensure all necessary dependencies are installed and properly configured. Verify the database connection settings in the
wp-config.phpandwp-tests-config.phpfiles. Ensure the scripts and files have the necessary permissions to execute.If you encounter specific errors, please share the logs or error messages for more detailed assistance.
You can try to use this code.
<?php // Get the featured image URL, dimensions, and file size $featured_image_id = get_post_thumbnail_id(); $featured_image_url = wp_get_attachment_url($featured_image_id); $featured_image_meta = wp_get_attachment_metadata($featured_image_id); $featured_image_filetype = pathinfo($featured_image_url, PATHINFO_EXTENSION); $featured_image_filesize = size_format(filesize(get_attached_file($featured_image_id)), 2); // Get the upload date and uploader's username $featured_image_upload_date = get_the_date('M j, Y \a\t g:i', $featured_image_id); $featured_image_uploader_id = get_post_field('post_author', $featured_image_id); $featured_image_uploader_name = get_the_author_meta('display_name', $featured_image_uploader_id); // Display the featured image echo '<div>'; the_post_thumbnail('large'); echo '</div>'; // Display the image save data echo '<div>'; echo '<p><strong>Upload:</strong> ' . $featured_image_upload_date . '</p>'; echo '<p><strong>Uploaded by:</strong> ' . $featured_image_uploader_name . '</p>'; echo '<p><strong>File URL:</strong> <a href="' . $featured_image_url . '">' . $featured_image_url . '</a></p>'; echo '<p><strong>Filetype:</strong> ' . $featured_image_filetype . '</p>'; echo '<p><strong>File size:</strong> ' . $featured_image_filesize . '</p>'; echo '<p><strong>Dimensions:</strong> ' . $featured_image_meta['width'] . ' x ' . $featured_image_meta['height'] . '</p>'; echo '</div>'; ?>Verify that you are running the most recent version of WordPress. Additionally, the plugins and theme are updated.
This setting could be broken by any plugin conflict. Try turning off each plugin one at a time while updating your settings.
I would suggest to replace the code of this function addInspectorControls
function addInspectorControls( BlockEdit ) { return ( props ) => { const { attributes, setAttributes } = props; const { isRowStackOnMobile } = attributes; if ( props.name !== 'core/group' ) { return <BlockEdit { ...props } />; }else if(props.name === 'core/group' && attributes.orientation === 'horizontal') { return ( <> <BlockEdit { ...props } /> <InspectorControls> <div className="enable-row-stack-container"> <ToggleControl label={ __( 'Row Stack on mobile', 'enable-row-stack' ) } checked={ isRowStackOnMobile } onChange={ () => { setAttributes( { isRowStackOnMobile: ! isRowStackOnMobile, } ); } } /> </div> </InspectorControls> </> ); } }; }I would like to suggest to use this one useful plugin https://ww.wp.xz.cn/plugins/user-role-editor/.
Forum: Fixing WordPress
In reply to: Page List: Cannot Retrieve Pages errorPlease follow the guide to create the menu at WordPress https://codex.ww.wp.xz.cn/WordPress_Menu_User_Guide
Forum: Everything else WordPress
In reply to: Where do scrollbars come from?You should provide the Website URL to debug and find the exact issue behind it. I will check and find the exact cause of it. After that I can give the exact solution for this problem.
Forum: Fixing WordPress
In reply to: I can’t access wp admin to download simply SSLYou’re unable access the website. To resolve the issue, contact your hosting provider for assistance. They may be able to identify and fix the problem. Because your SSL is not configured correctly. They will configure for your easily.
Forum: Fixing WordPress
In reply to: I need help to solve Cumulative Layout Shift (CLS)After debugging your website, I found the errors related with google Ads. Are you using any plugin for inserting the google Ads. Please try to deactivate this particular plugin and other plugins, check your website. It may resolve the issue.
Forum: Fixing WordPress
In reply to: Customize function not working/changing header logoWhich theme is being used by you? It seems that you are using free version of theme and premium version of theme will allow to edit header logo.
Forum: Fixing WordPress
In reply to: looking for form pluginI would suggest to use the Contact form 7 plugin with these two add-ons.
https://ww.wp.xz.cn/plugins/generate-pdf-using-contact-form-7/
https://ww.wp.xz.cn/plugins/digital-signature-for-contact-form-7/