Ivaylo Tinchev
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Date and Time Shortcode] Shortcode without SundayHello again @hasantaqvi,
Hopefully we have solved your issue. I am closing the support thread.
Hello @rankmathteam,
Thank you for your support!
Those have probably changed in the past because I remember using them before as described in my first post and they worked. By the way, the code in your website uses the
image
part of the hook without thetwitter_
part in front of it. Here is the code for OpenGraph filters listed on the following page https://rankmath.com/kb/filters-hooks-api-developer/:/** * Allows developers to change the OpenGraph image within theme. * * The dynamic part of the hook name. $network, is the network slug. Can be facebook or twitter. * * @param string $attachment_url The image we are about to add. */ add_filter( "rank_math/opengraph/{$network}/image", function( $attachment_url ) { return $attachment_url; });
IMHO, it will be good to have a page with all of your up-to-date Rank Math SEO hooks described “one per line” as other products have theirs. And then the examples of use.
Thanks again!
The case in this support thread was solved.
Hello @rankmathteam,
Yes, it works now when the code is placed in the child theme’s functions.php. (It is not working when placed in plugins, probably because the $post global is not available before the wp hook.)
Thanks a lot!
Forum: Plugins
In reply to: [WP Date and Time Shortcode] Conflict with LuckyWP Table of ContentsThere are no new posts in the thread. It will be closed. If you still have the issues, please contact us again.
Hello,
The link in the database for this meta key is correct:
https://www.stp.one/wp-content/uploads/2023/03/Roadshow2023-Social-media-new.jpgOK. Then here is a link to an event page that is more of a public type:
https://www.stp.one/legaltech-days/
As you can see from the source, the general image is in og:image. If we remove it, the specific image set for the page does not appear there.And here is the image as it should appear in the moment (but it does not):
https://prnt.sc/aY4gYLE9_si6Hello @rankmathteam,
Thank you for your reply.
May I send you the links in a private way somhow? Those are landing pages for specific audiences and we do not want to publish them for public access.
PS: The domain name has landing pages only for now, so actually non of the landing pages works correctly. All of them show the Global OpenGraph image even when they have one attached to the concrete page. The image attached which is using RankMath fields for the page is ignored.
- This reply was modified 1 year, 9 months ago by Ivaylo Tinchev.
Hello? Anyone?
The image we are trying is the same in both the default OpenGraph image and the one for the landing page. In the first case it appears in the code and it the second it does not. We have tried different images on several landing pages and the default OpenGraph image and it only shows when the default image is set. We came up to the point to put a default image and then refresh the landing page link in the social network/s, then put another and refresh it in the social network and again for third page. We just must not refresh them again (they are now kept with the fetched old image in the social network/s). The image is not the problem but the display of it when it is not a default for OpenGraph.
PS: I forgot to mention that the Page Builder for the landing pages is Elementor.
Important note:
We do not see the issue for posts/pages/CPTs but on Landing pages only. (We do not have landing pages on other websites.) And the current domain name/website has landing pages for now only.Hello,
We still have the issue even when all other plugins (except elementor) are off. All server side and local cache are cleared.The default OpenGraph Thumbnail image is displayed when it is set in Global Meta. But when we have a specific image for post/page we do not get it in the result code of the website: https://prnt.sc/sHlwfyhjqGFr
The size of the image is 1200 x 630 and it is PNG or JPG format.We have other websites with the same plugins installed and we do not see the issue there.
You can see the result here:
https://prnt.sc/pUpYPku0tlD0Hello @rankmathteam,
The page content is saved correctly. The image is also updated correctly in the Social Tab of the Snippet Editor. However the image does not replace the default OpenGraph Thumbnail for social media set in the Global Meta settings.