gale13
Forum Replies Created
-
Hi, here are the names of the carousels I used on the page: https://postimg.cc/sBcbzczj
I think you misunderstand what I mean. Vertical gap is to set space or gap between items in the carousel. (If I get it right: https://i.postimg.cc/kgMMtLcD/gap.png). I want to change the gap between the button of the carousel to the paragraph (of the post) below. I changed as you said (even to 5px), and nothing changed. The space is still the same.
Hi, you can check this link: https://happybakingdays.com/beverages/cocktails/
Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerI checked. It’s because I already added a code showing author info in each post. But when I use the plugin in a post, it adds the schema of the plugin into the post (no author info). So when I added your code, it duplicated the author info.
Thanks a lot for your help!
Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerHere it is
function change_wprm_recipe_metadata( $metadata, $recipe ) {
$author = intval( $recipe->post_author() );
if ( $author ) {
$user = get_userdata( $author );
if ( $user ) {
// Change the author that's used for the metadata.
$metadata['author'] = array(
'@type' => 'Person',
'@id' => 'https://example.com/author/katie/', // Set the static author URL
'name' => 'Kate', // Set the static name for this example
'url' => 'https://example.com/author/katie/', // Same as @id
'sameAs' => 'https://example.com/', // Website URL
'jobTitle' => 'Home Cook and Food Blogger',
'knowsAbout' => array(
'Gluten-free baking',
'World cuisines',
'Cocktail mixies',
'Homemade condiments',
'Quick meal',
),
'image' => array(
'@type' => 'ImageObject',
'@id' => 'https://example.com/wp-content/litespeed/avatar/d741a7b3b404a37d19ee35042a08cb5e.jpg?ver=1727622785',
'url' => 'https://example.com/wp-content/litespeed/avatar/d741a7b3b404a37d19ee35042a08cb5e.jpg?ver=1727622785',
'caption' => 'Kate',
'inLanguage' => 'en-US'
),
'alumniOf' => array(
'@type' => 'Organization',
'name' => 'Rouxbe Cooking School'
)
);
}
}
return $metadata;
}
add_filter( 'wprm_recipe_metadata', 'change_wprm_recipe_metadata', 10, 2 );Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerYou can see this screen shot of the schema to know what I mean: https://postimg.cc/fVwvh8Pw
Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerHi, it works. Thanks for that. But there are two same terms when I run the code
'alumniOf' => array(
'@type' => 'Organization',
'name' => 'Cooking School'Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerI add it in the functions.php
Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerI add this:
function change_wprm_recipe_metadata( $metadata, $recipe ) {
$author = intval( $recipe->post_author );
if ( $author ) {
$user = get_userdata( $author );
if ( $user ) {
// Change the author that's used for the metadata.
$metadata['author'] = array(
'@type' => 'Person',
'@id' => 'https://example.com/author/katie/', // Set the static author URL
'name' => 'Kate', // Set the static name for this example
'url' => 'https://example.com/author/katie/', // Same as @id
'sameAs' => 'https://example.com/', // Website URL
'jobTitle' => 'Home Cook and Food Blogger',
'knowsAbout' => array(
'baking',
'Traditional cuisine',
'Cocktail',
'condiments',
'Dinner meal',
),
'image' => array(
'@type' => 'ImageObject',
'@id' => 'https://example.com/wp-content/litespeed/avatar/d741a7b3b404a37d19ee35042a08cb5e.jpg?ver=1727622785',
'url' => 'https://example.com/wp-content/litespeed/avatar/d741a7b3b404a37d19ee35042a08cb5e.jpg?ver=1727622785',
'caption' => 'Kate',
'inLanguage' => 'en-US'
),
'alumniOf' => array(
'@type' => 'Organization',
'name' => 'Cooking School'
)
);
}
}
return $metadata;
}
add_filter( 'wprm_recipe_metadata', 'change_wprm_recipe_metadata', 10, 2 );Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerHi, I don’t think it work. The schema markup is still the same
Forum: Plugins
In reply to: [WP Recipe Maker] Can I adjust the schema markup of plugin WP recipe makerHi,
I want to add terms About and Mentions, and some info about the author.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin break the homepageHi, I worked. Thanks for your support
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin break the homepageThe report number is QTEXBWWT
Forum: Themes and Templates
In reply to: [GeneratePress] Error menu and websiteHi,
You’re right! It’s because of the optimization plugin. Thanks!