Alvind
Forum Replies Created
-
Forum: Plugins
In reply to: [GenerateBlocks] Query Loop strips html of Reading Time pluginHi there,
I did some testing with the plugin added to the GB Query block, and I don’t see the issue you described. When inspecting the page source, the element is correctly wrapped in
<span>tags.Can you share a page where this issue occurs so we can check it on the frontend?
Forum: Plugins
In reply to: [GenerateBlocks] Query child of current custom post typeSure, no problem.
Forum: Plugins
In reply to: [GenerateBlocks] Query child of current custom post typeHi there,
The Current Post option is only available in GenerateBlocks Pro.
If you’re using the free version, you’ll need to use a custom filter to set the parameter. Add this snippet:
add_filter('generateblocks_query_wp_query_args', function ($args, $attributes, $block, $current) {
// Check if the Query block has the 'parent-query' class
$has_parent_query_class = false;
if (! $has_parent_query_class && ! empty($attributes['className'])) {
if (strpos($attributes['className'], 'parent-query') !== false) {
$has_parent_query_class = true;
}
}
// Only apply the parent filter if the class exists and we have a current post ID
if ($has_parent_query_class && ! empty($current['post_id'])) {
$args['post_parent'] = $current['post_id'];
}
return $args;
}, 10, 4);Adding PHP: https://docs.generatepress.com/article/adding-php/
Then, select the Query block and assign it a class of
parent-queryunder Advanced > Additional CSS Classes.It’s possible, but you’ll likely need custom CSS since core blocks don’t offer full styling control like GenerateBlocks.
Hi there,
Try setting each inner container to a fixed width, for example 33% for a three-column layout.
Forum: Themes and Templates
In reply to: [GeneratePress] Updating GeneratePressYou’re welcome!
Forum: Themes and Templates
In reply to: [GeneratePress] Updating GeneratePressHi there,
In this case, it’s best to perform the update on a staging site or create a full backup before proceeding. Your site’s GP version is quite old, so updating directly may cause issues or not go smoothly.
I’d suggest starting with the theme first and deactivating the GPP plugin. Once the theme is updated to the latest version, you can then install and activate the latest GPP plugin.
Forum: Themes and Templates
In reply to: [GeneratePress] IE related warningHi there,
Thanks for the heads up! I was able to replicate the same error on my end. I’ll raise an issue to get this fixed.
Forum: Themes and Templates
In reply to: [GeneratePress] Menu not expanding on mobileIn that case, the existing menu isn’t using the Custom Link type, which is why the option isn’t available.
To fix it, you’ll need to replace the About Us menu item with a Custom Link menu item. Here’s how:
- In the Add Menu Items panel on the left, find the Custom Links section.
- In the URL field, enter a placeholder like #.
- In the Link Text field, enter the label you want (e.g., About Us).
- Click Add to Menu.
- Once added, drag and drop your desired child pages or links underneath this new About Us item to create the dropdown structure.
Forum: Themes and Templates
In reply to: [GeneratePress] Menu not expanding on mobileHi there,
Go to Appearance > Menus in your WordPress dashboard, then edit the About Us and Resources menu items. Replace their current URLs with # so they won’t redirect when the menu is clicked.
Forum: Themes and Templates
In reply to: [GeneratePress] Updating from version 3.0.2Should I just manually upload the latest versions of GP and WP in cpanel?
If you download the latest version of the theme and try uploading it manually through the Theme Installer in WP Admin, does the issue still occur?
If it does, you can try updating the theme manually via cPanel instead.
Glad to hear that!
Forum: Themes and Templates
In reply to: [GeneratePress] Updating from version 3.0.2Hi there,
You can manually download previous GP versions using these links:
- https://downloads.wordpress.org/theme/generatepress.3.1.0.zip
- https://downloads.wordpress.org/theme/generatepress.3.2.0.zip
- https://downloads.wordpress.org/theme/generatepress.3.3.0.zip
- https://downloads.wordpress.org/theme/generatepress.3.4.0.zip
Try updating gradually starting from v3.1.0 and move up one version at a time to reduce the risk of breaking anything.
Forum: Themes and Templates
In reply to: [GeneratePress] Full width mobile blog post imageYou’re welcome!
Forum: Themes and Templates
In reply to: [GeneratePress] Full width mobile blog post imageFor the homepage, try this CSS:
@media (max-width: 768px) {
.blog.one-container .site-content {
padding: 0;
}
.blog.one-container .entry-header,
.blog.one-container .entry-summary,
.blog.one-container footer.entry-meta,
#nav-below {
padding-inline: 30px;
}
}