Alvind
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] edit code to embed link blockHi there,
The theme doesn’t have control over the block layout, as that’s the default behavior of the core WP Embed block. However, it may be possible to hide it with CSS.
Forum: Themes and Templates
In reply to: [GeneratePress] Full width mobile blog post imageOkay, try adding this CSS:
@media (max-width: 768px) {
.single-post.separate-containers .inside-article {
padding: 0;
}
.single-post.separate-containers .inside-article .entry-header,
.single-post.separate-containers .inside-article .entry-content,
.single-post.separate-containers .inside-article footer.entry-meta {
padding: 30px;
}
}Adding CSS: https://docs.generatepress.com/article/adding-css/
If it doesn’t work, feel free to share the link here in your reply so I can check it directly.
Forum: Themes and Templates
In reply to: [GeneratePress] Full width mobile blog post imageHi there,
Can you provide your site’s URL so we can take a look at your current mobile layout?
Forum: Plugins
In reply to: [GenerateBlocks] Change breakpointsHi there,
The snippet in that topic only works for GB v1 — it won’t work with v2 blocks.
For v2 use this snippet instead:
add_action( 'enqueue_block_editor_assets', function() {
$overrides = [
'largeWidth' => '@media (min-width:1280px)', //desktop
'mediumWidth' => '@media (max-width:1279px) and (min-width:768px)', //tablet
'mediumSmallWidth' => '@media (max-width:1279px)', //tablet & mobile
'smallWidth' => '@media (max-width:768px)', //mobile
];
$script = sprintf(
'wp.hooks.addFilter(
"generateblocks.styles.defaultAtRules",
"my-theme/modify-default-at-rules",
function( atRules ) {
const overrides = %s;
return atRules.map(rule => ({
...rule,
value: overrides[rule.id] || rule.value
}));
}
);',
json_encode( $overrides )
);
wp_add_inline_script( 'generateblocks-styles-builder', $script, 'before' );
});Important: this change only affects newly inserted v2 blocks. Existing blocks that were added before the snippet won’t have their breakpoints changed automatically.
Hi there,
You can try the solution mentioned in this topic:
https://generatepress.com/forums/topic/removing-from-blog-post-excerpts/
Hi there,
Try updating the CSS to this instead:
.site-header {
background-image: url(url-to-your-image);
min-height: 125px;
background-position: center;
background-size: cover;
}Forum: Themes and Templates
In reply to: [GeneratePress] content template without schemaHi there,
Most SEO plugins should provide an option to add schema, if you’re using one.
If you prefer not to use a plugin, then you’ll need to generate it manually. You can refer to this topic: https://generatepress.com/forums/topic/adding-schema-to-my-website/#post-2470209
I was referring to the GeneratePress theme itself — can you check which version is currently installed on your site? Please make sure it’s the latest version to ensure compatibility with PHP 8.
Since you’re using GP Premium, could you raise a new topic in the Premium Support forum? WordPress doesn’t allow us to provide or discuss paid plugins here. We’ll be happy to assist you there.
The PHP version issue isn’t related to the theme. In this case, you’ll need to reach out to your hosting provider to upgrade PHP, as that’s handled at the server level.
Hi there,
You’re seeing the
?query-pagination string because the Query block is added on a static page. When pagination is enabled on a static page, GenerateBlocks uses a query parameter as the pagination identifier, which is why the URL looks like that. This happens since the page itself doesn’t have native pagination handling.If you want the standard pagination format (e.g. /page/2), the Query block needs to be applied on the blog or archive templates, with the Inherit query from template option enabled. In GeneratePress, this requires the Elements module in GP Premium, so you can insert the Query block into the archive templates.
Regarding the comments number – where do you want it to be linked?
Hi there,
There’s no need to update the child theme — you only need to update the parent theme.
Hope that helps clarify!
Forum: Plugins
In reply to: [GenerateBlocks] Generateblocks causes font problemHi there,
We weren’t able to replicate the issue.
To confirm if GenerateBlocks is the source, please temporarily deactivate all plugins except GenerateBlocks and check if the problem persists. This will help narrow down the cause.
If the issue still occurs, try switching temporarily to a default WordPress theme (like Twenty Twenty-Five) to rule out any theme-related conflicts.
Let us know if the issue continues after these steps.
Forum: Themes and Templates
In reply to: [GeneratePress] 테마에서 generatepress-content-width 오류Hi there,
Can you let us know on which specific page in the admin this error appears? Or does it show up everywhere in the admin?
Hi there,
Please refer to my reply here: