Multani Sahil
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Small squares next to postsHello @jonocoetzer,
Please add below CSS code into your theme. I hope this will work for you.
.entry ul li, .entry ol ul li { list-style: none; }
Thanks,
SahilForum: Fixing WordPress
In reply to: Query loop grid display breakingHey @limeyard,
Please update your CSS according to the below :-
.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li, .wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li { width: calc(33.33333% - 16px); } .entry-content ul { list-style: square; padding: 0; margin-bottom: 30px; }
Also, review the below screenshots for more clarification.
https://prnt.sc/3kQj3KGsfldv, https://prnt.sc/x8ojpaIW8Iw4
Thanks,
SahilHello @johannes999,
Yes, you have found the correct code for a page template. Now, just create a new file in your theme and add this code.
The answer to your question is no. You don’t need to add any other code in your function.php to make it work.
You can also read the documentation. Click here to review.
Hope you have got your answer.
Thanks,
Sahil- This reply was modified 1 year, 10 months ago by Multani Sahil.
Forum: Fixing WordPress
In reply to: Add padding for posts/pages on mobile viewHii @kufloyd,
You can add the following css code into your style.css file to add some spacing.
.site-content{padding:0 20px;}
Kindly change the padding as per your need.
Let me know if still you need any help on this.
Thanks,
SahilForum: Fixing WordPress
In reply to: how to add HTML in translated stringsHii @arsenalemusica,
If you want to output the html in translated strings then you can use WordPress wp_kses() method. You can read more details from here.
Here is an example of this method :-
echo wp_kses( __( 'This is a <strong>Bold</strong> text', 'text-domain' ), array( 'strong' => array() ) );
Hope this will be helpful for you.
Thanks,
SahilForum: Fixing WordPress
In reply to: Cannot save posts with GutenbergHello @sladkoe6ka,
Can you please try the following solution and see if that helps?
1) Add this constant in wp-config.php file
define( 'CONCATENATE_SCRIPTS', false );
and then try to creating/saving a post/page.Thanks,
SahilForum: Fixing WordPress
In reply to: Adding a CSS to links of Image GalleryHello Nicolas,
I am not sure How we can apply custom class to WordPress core blocks. But, you can read this article.
Might be, this article will be helpful for you.
Thank you.
Forum: Fixing WordPress
In reply to: Adding a CSS to links of Image GalleryHello @leroy12,
Yes, you can add custom class to your image link. And, It’s very easy to do with WordPress Gallery block. Please check below screenshot for add class to “A” tag.
Screenshots :- https://prnt.sc/PYXgOhqUD4Sa
Please review and let me know if still need any help on this.
Thanks,
SahilForum: Fixing WordPress
In reply to: Featured Image Cetegory Not Shown In WordPressGreat.! Now you can ask their plugin support to fix the issue.
Forum: Fixing WordPress
In reply to: My site has unwanted image on right side of Single Product PageGlad to know that its works for you.
Yes, If your issue is fixed and you don’t have any other query then you can mark it as resolved.
Forum: Fixing WordPress
In reply to: My site has unwanted image on right side of Single Product PageHello @arunisaa9729,
I’m not sure what image you are talking about? Could you please confirm which image do you want to remove? So, I can help you with that.
I think you wanna remove these images. Right? – https://prnt.sc/b28wTXkSVl89
If yes, then you can disable them from the customization. Just go to your admin dashboard and Appearance > Customize > WooCommerce > Product Page > Product Pagination ( Uncheck this option to remove product pagination ).
Hope this will helpful for you.
Thanks,
SahilForum: Fixing WordPress
In reply to: Featured Image Cetegory Not Shown In WordPressHii @michaelacaggi,
Can you please verify that you enabled the featured image option from the post settings? Please check the below screenshot for reference.
Settings screenshot :- https://prnt.sc/O1e8LgEF6tHM
If you are not able to see the featured image option there then please try to find this code ‘remove_theme_support’ in your whole theme. Might be, that you have removed the ‘post-thumbnails’ feature by using this function.
Still unable to find any solution, then deactivate all your plugins and then check. It is also possible that any other plugin is conflicting with this feature.
Thank you,
Sahil- This reply was modified 2 years ago by Multani Sahil.
Forum: Fixing WordPress
In reply to: Featured Image Cetegory Not Shown In WordPressHello @michaelacaggi,
Thanks for sharing the code.
I have reviewed your code and you have added it correctly. But not sure why it is not working.
But, I have updated your code and added the post name in the ‘add_theme_support’ parameters.
Updated code :- https://pastebin.com/fWAp19Vc ( Line no. 41 )
Please copy this update and paste it into your function.php file.
Note :- I have added default ‘post’ & ‘page’. If you are using a CPT then add your CPT name after the ‘page’ on line no – 41.
Please add this updated code and let me know that it’s working or not.
Thanks,
SahilForum: Fixing WordPress
In reply to: Featured Image Cetegory Not Shown In WordPressHello @michaelacaggi,
This feature must be called before the ‘init’ hook is fired. That means it needs to be placed directly into functions.php or within a function attached to the ‘after_setup_theme’ hook.
You can try ‘add_theme_support’ with ‘after_setup_theme’ hook. Might be, it will work for you.
Below is an example :-
function your_function_name() { add_theme_support( 'post-thumbnails' ); } add_action( 'after_setup_theme', 'your_function_name' );
Hope this will work for you.
Thanks,
SahilForum: Fixing WordPress
In reply to: bulk post creator, html conflictHello @lakhi,
You are looking for the bulk creator plugin.
As per your requirements might be this plugin works for you.
Mass Pages/Posts Creator – This plugin is used to create bulk posts/pages.
Hope this will work for you.
Thanks,
Sahil