riccardorusso79
Forum Replies Created
-
Forum: Plugins
In reply to: [CataBlog] og:image in template galleryHi mbrsolution. I believe that you are wrong.
Yoast SEO takes the thumbnail from the post.
When Catablog creates the post, in my single-catablog-items.php
if I check
if ( has_post_thumbnail() ) {
I obtain FALSE. This means that catablog doesn’t set the featured image of the post.
Is there a way to tell catablog to set the featured image?Riccardo
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbYes, the hack works well !!!!
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbFOLLOW UP
HACK:
Add in function.php a search and replace for that specific pages:<?php function replace_breadcrumbs() { echo '<script type="text/javascript">'; echo ' document.body.innerHTML = document.body.innerHTML.replace("/amici-a-4-zampe-cat-page-slug/amici-a-4-zampe/", "/amici-a-4-zampe/")'; echo '</script>'; } if (strpos($_SERVER['REQUEST_URI'],'/amici-a-4-zampe/') !== false) add_action('wp_footer', 'replace_breadcrumbs'); ?>
Forum: Plugins
In reply to: [CataBlog] og:image in template galleryHi mbrsolution,
I’m using Yoast SEO and, for FB, it is possible to set a default image IMG (form me it’s the homepage image).
Look at here.When user click on the dog image, it’ s redirected to a post page but there is not the featured image/thumbnail image/og:image set, so when user clicks on “share FB”, the default image is selected.
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbHi mbrsolution,
i’understood my problem. I’ve installed Yoast SEO and now i’m using that breadcrumb interface.The gallery in on a page: https://#####.it/amici-a-4-zampe/ and the breadcrumb is
Home | Amici a 4 zampe
which is the title of the page (Amici a 4 zampe)
Now, when the user clicks on an image he changes the taxonomy (?) and switches from https://######.it/page-sitemap.xml to https://####.it/catablog-items-sitemap.xml
For Yoast SEO, the breadcrumb home for Catablog can be set only to
– NONE
– Catablog Category. <—If I set the individual page slug to “amici-a-4-zampe” and I create all images in catablog using category “Amici a 4 zampe” (slug:amici-a-4-zampe) the link is “https://elenaborrione.it/amici-a-4-zampe/nalam/” and the breadcrumb is
Home | Amici a 4 zampe | Nalam
Nice, BUT the user is the catblog taxonomy.
The “Amici a 4 zampe” in breadcrub now points to
“https://######.it/amici-a-4-zampe-cat-page-slug/amici-a-4-zampe/” whichs is showing me all posts of the catablog category “Amici a 4 zampe”.My desire was to go back to https://#####.it/amici-a-4-zampe/ which is in another taxonomy and I think this is not possible…
Forum: Plugins
In reply to: [CataBlog] og:image in template galleryMbrsolution, you are right!
The dog, which you are seeing, is the default og:image sets by YOAST plugin [IMG]. I would like to replace that image with the image of Nalam (the dog of the post).
In this case, in the HEAD, this row must be inserted
<meta property="og:image" content="https://##########.it/wp/wp-content/uploads/catablog/thumbnails/cane-nalam.jpg"/>
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbUnfortunately not ??
Maybe my theme (cyberchimps responsive) is buggy. I tried also with YOAST but the breadcrumb can be set or none or Category. But when set to category the page is displayed without template gallery.
I’ve seen also the there is a specific sitemap for catablog posts and the name is https://####.it/catablog-items-sitemap.xml
Forum: Plugins
In reply to: [CataBlog] og:image in template galleryHi mbrsolution,
i’m already able to share the right link but in the share FB there is the wrong image.
Please, look at LINKRiccardo
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbI tried to use YOAST breadcrumb. Unfortunately the crumb can be
– None
– Category (es amici-a-4-zampe)But using this second option the page doesn’t use the template gallery but default.
Thanks for suppport. I close the thread if there is not an answer
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbHi mbrsolution,
I tried to switch to another theme but the problem is still here.
Moreover I tried to modify the Category Page Slug, with no luck.
I noticed that the link in breadcrumb is “https://elenaborrione.it//amici-a-4-zampe/”, with “//”…I copied also my single.php in single-catablog-items.php (adding also the snippet from ‘sub-images’ show) and archive.php in taxonomy-catablog-terms.php. Nothing!
Forum: Plugins
In reply to: [CataBlog] Catablog items in breadcrumbHi mbrsolution,
I’m using firefox too. I tried also in anonymous mode, and Chrome or IE and there is always the same behaviourI cleaned cache, etc…