Forum Replies Created
-
AuthorPosts
-
Prabakaran Shankar
ParticipantHello,
Thank you very much for the update about the development.
Hope, soon it will be updated.
https://wordpress.org/support/topic/mb-relationship-custom-metabox-fields/Prabakaran Shankar
ParticipantHello sir,
Thank you so much for your suggestion on developing the shortcode. But, while trying to use the shortcode in JSON-Ld for developing rich snippets, the shortcodes are not convenient because of some rendering issues.
for example:
I used the following shortcode in {script....} JSON-LD for rich snippets in the RankMath Schema builder.‘[rwmb_meta id=”single_image_dpce0q00wd5″ attribute=”url”]
After refresh (update), the value displays like the below:
`[rwmb_meta id=\”single_image_dpce0q00wd5\” attribute=\”url\”]
Also, I have tried your shortcode after activating the following code through code snippets and used the shortcode
'[single_image_url]BUt there is no response.
'add_shortcode( 'single_image_url', function() {
$single_image = rwmb_meta( 'single_image_dpce0q00wd5' ); //replace your field ID here
if ( empty( $single_image ) ) {
return '';
}
$output = $single_image['full_url'];
return $output;
} );If there is any mistake, please help me.
I have contacted RankMath for this issue. Awaiting their reply.Meanwhile, they have suggested this option available (image attached) in ACF. Is there any way, we can call the url using custom field id?
https://1drv.ms/u/s!AjW7znckfYbzg9IWzGawSobPrAdB3g?e=xeE66JMay 29, 2021 at 11:05 AM in reply to: ✅Custom Fields stored/mapped in custom table not available in Oxygen builder #28505Prabakaran Shankar
ParticipantThank you so much for your kind response.
May 28, 2021 at 12:21 PM in reply to: ✅Custom Fields stored/mapped in custom table not available in Oxygen builder #28489Prabakaran Shankar
ParticipantHello,
Relation to the above query, I have created a shortcode via MB Views to display the custom fields stored in the custom table. If I use shortcode, the oxygen Builder displays the custom field data from the custom table.
Then, I have to create an MB Views shortcode for concern custom fields to use in the oxygen page template.Prabakaran Shankar
ParticipantThank you so much, for your kind help.
Prabakaran Shankar
ParticipantThank you so much.
Prabakaran Shankar
ParticipantThank you very much for the suggestion, however, I have found another way, which stores the value in the custom table.
But, I have noticed another event in the DB tables.
Briefly, I have created a custom table with the custom fields via PHPmyadmin. Later on, pointed the custom table to the custom fields through the option "save data in the custom table" without selecting the create a custom table.
Then, created a new post in the custom post type (for example: Event). Accordingly, custom fields are saved in the custom date table for the post id 120 as follows:
https://1drv.ms/u/s!AjW7znckfYbzg9FQr9W0KVUtCBqavw?e=uY6PSOSimilarly, I have noticed that the value for post id 120 saved in the _post and _post_meta table also, as follows.
https://1drv.ms/u/s!AjW7znckfYbzg9FR-sAypFoA5SCBew?e=GFEcdS
https://1drv.ms/u/s!AjW7znckfYbzg9FSLW_iyO0TVU-JIA?e=Y8wrMZis that normal, I have missed any configurations or I have to add any other additional codes to avoid additional savings in the post and post meta tables.
Prabakaran Shankar
ParticipantI'm developing job posting schema function using Rankmath SEO through the image field ID '[customfield(field_id)]' in the organization logo URL.
The problem is the field id results in the image title. I want to point out the image full URL in the organization logo area.Prabakaran Shankar
ParticipantThank you very much for the idea of populating the image URL.
One more question, Is that any way to modify the callback data to URL of the image?Prabakaran Shankar
ParticipantWaiting for this excellent complete custom table option for the post.
Prabakaran Shankar
ParticipantHi, thank you for this question and the solution you found.
Could you please give the full code?
Because I am not a superuser to insert the above code in the right place.Thanks in advance.
-
AuthorPosts