Muhibul Haque
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: course certificateHi Asad, congratulations on completing the course.
We currently issue certificates only for the WordPress Credit Course. Certificates are not provided for other courses.
On your profile, you will find a Courses tab where you can view the list of all the courses you have completed. You can also share your Learn WordPress profile link on LinkedIn to showcase the courses you have completed and your learning progress.
Hi @tjasa1
Could you please check which WordPress version you are using?
I just tested with latest WordPress version and theme and it’s there.Forum: Plugins
In reply to: [Gutenberg] Icon & Button Block EnhancementsHi @onequestpress
Thanks for posting the issue here. But the forum is not the right place to request feature. I believe it will not take more than 5 minutes to create a Github account. I suggest you to post it in the Github or if you want I can post it on behalf of you in Github, but that way you will not receive any notification when someone updates the GH issue.
https://github.com/WordPress/gutenberg
ThanksForum: Plugins
In reply to: [Gutenberg] Dropdown AccordionThen you need to develop the feature on your theme or plugins. If you are a developer and stuck in any stage, you can share here. I believe I can help you as well to develop the block.
Hi,
I didn’t found any responsive issue in my mobile. Can you share any screenshot please?
Forum: Plugins
In reply to: [Gutenberg] Dropdown AccordionHi, there are multiple plugins available for it. You can use anyone that suits your requirement.
Forum: Plugins
In reply to: [Gutenberg] How to have multiple Headers setup conditionally.Hi @vijaykumarim,
1: Create Multiple Template Parts/templates/partials/
header-default.html
header-alt.html
footer-default.html
footer-alt.htmlOr via the Site Editor:
- Go to “Template Parts” > Create new Header (e.g., “Header Alt”).
2. Modify
header.htmlto Load Dynamically (via PHP)Unfortunately, block themes use static HTML files, so to introduce conditional logic, you’ll need to override this behavior via PHP in your
functions.php.add_filter( 'template_include', 'custom_dynamic_header_template', 99 );
function custom_dynamic_header_template( $template ) {
if ( is_page( array( 'about-us', 'services' ) ) ) {
add_filter( 'block_theme_header_template', function() {
return 'header-alt';
});
} else {
add_filter( 'block_theme_header_template', function() {
return 'header-default';
});
}
return $template;
}Hi @adireddy
You can disable core blocks if you want. I did this before.
Method 1: Here is the code that you can add in your functions.php file. This will help you to keep only allowed blocks.add_filter( 'allowed_block_types_all', 'allowed_blocks', 10, 2 );
function allowed_blocks( $allowed_blocks, $editor_context ) {
return [
'core/paragraph',
'core/heading',
'core/image',
'core/list',
];
}Method 2: But if you want to unregister a specific block then you can enqueue a specific jQuery file and on that file you can unregister specific blocks.
function gutenberg_unset_core_blocks() {
wp_enqueue_script(
'test-unregister-blocks',
plugins_url( 'unregister-blocks.js', __FILE__ ),
[ 'wp-blocks', 'wp-dom-ready', 'wp-edit-post' ],
null,
true
);
}
add_action( 'enqueue_block_editor_assets', 'gutenberg_unset_core_blocks' );Add below code on unregister-blocks.js
wp.domReady(() => {
wp.blocks.unregisterBlockType('core/quote');
wp.blocks.unregisterBlockType('core/verse');
wp.blocks.unregisterBlockType('core/code');
});Forum: Plugins
In reply to: [Gutenberg] Page List block does not show all pages under «Parent» dropdownHi @mchouvel
I believe, this requires further investigation. It would be more helpful if you could create an issue on the Gutenberg GitHub repository: https://github.com/WordPress/gutenberg/issues
Forum: Plugins
In reply to: [Gutenberg] Hover Effect on H3 HeadingHi @amcglawn
To apply hover effect you can use a class on your specific heading and then you can add hover effect using that class.
<h3 class="popup-heading">Hover Me</h3>.popup-heading:hover {color: blue;}Forum: Plugins
In reply to: [Gutenberg] Best block for JavaScript or iframeI also use this way to add custom codes. Thanks
Forum: Plugins
In reply to: [Gutenberg] Best block for JavaScript or iframeHI @earl_d
You can simply use Custom HTML block to add JavaScript or iFrame.
- Add a Custom HTML block to your page.
- Paste your JavaScript or iframe code into the block.
- Click “Preview” to ensure it displays as expected.
Best regards,
MuhibulForum: Fixing WordPress
In reply to: Reset Gutenberg Blocks formatingHi @mllapan
You can just select the problematic block and from the settings you can remove margin top and bottom. When you selected these value’s may be they were valid, but as you changed the theme, they are not invalid. So, you can just check the blocks and reset their values. You can also select the block, click the three-dot menu, and choose Reset all styles. Hope this will solve the issue.
Best regards,
MuhibulForum: Fixing WordPress
In reply to: Appearance and Widgets Home PageHi @rhandi
Thanks for posting here!
After reviewing your website, I found it’s a custom built WordPress theme. So, it’s really hard to assume from outside from where the Kurka News pulling data. If this is in sidebar, you can navigate to Appearance > Widgets and find the proper widget to modify the text.
If there are multiple widgets available, please check all the widgets, specially the sidebar widgets. I hope this will help you to edit the content easily.
Best of luck!
MuhibulForum: Fixing WordPress
In reply to: Dead Page after updateHi @b198426
I know how annoying this is when your website breaks after the update. So, it’s always recommended to keep backup before you update the WordPress website. Most of the time your website is broken after the update, because of plugins conflict.
Here are few steps you can follow to resolve the issue.
1. Login on your cPanel or use ftp to access your plugins directory. You will find this in wp-content/plugins. Rename the plugins folder plugins-old and try to access the WordPress admin again.2. If you have backup on your control panel, you can restore the website. Most of the modern hosting provider offer backup, so you can contact them to restore the website.
3. Downgrade the WordPress version using Core Rollback WordPress plugins.
Please let me know if you need any further assistance!
Best regards,
Muhibul- This reply was modified 1 year ago by Muhibul Haque. Reason: spelling mistake