How do I display (custom fields) in some of the TagDiv components?
Can I copy the components and add them to a child theme? If so, where do I find the components that I can copy?
For example, I am using a (Big Grid Flex 2) and a (Flex Block 3) component.
Hi kevinsikora, if you make the correct changes in theme files, then yes, you can display the custom fields, but the problem is that those flex elements will not work in a child theme. The code for those blocks are on this path wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/ and the changes should be set in this zone -> https://i.imgur.com/W7wxsAQ.png -> https://i.imgur.com/3qrFGk7.png
I hope this will help you!
Thanks for the advice. But I’m still having some issues. I am trying to access a custom field called (location). I am using the following PHP code to do that:
echo get_post_meta( get_the_ID(), ‘wpcf-location’, true); echo get_the_ID();
The code gets executed but I all I see is the post ID from the second get_the_ID() call.
How do I get the value of the location field?
When I look at that field on the backend/admin part of the site, on a post where I am using it, I see the following:
<input type=”text” id=”post_wpcflocation” name=”wpcf[location]” value=”Alameda, California” class=”wpt-form-textfield form-textfield textfield” data-wpt-type=”textfield” data-wpt-id=”wpcf-location” data-wpt-name=”wpcf[location]”>
Please disregard my previous request. I found out what the issue was.
Where can I find the code for the following: row -> column -> Posts Loop?
I installed a Pre-designed Template from the tagDiv Cloud Library. I’m not sure which one I installed. I renamed it.
I have the following page on my site: https://www.wheredoitakethekids.com/categories/places/. I would like to display a custom field next to each “summary post.” Basically I want to display an address under each title.
I was assuming I needed to modify a “specific” page like td_block_big_grid_flex_3.php. When I click on the element to edit it, all I see is (row -> column -> Posts Loop).
Hi @kevinsikora !
I’m also looking for the same function to call custom text on loop posts as you did on your site https://www.wheredoitakethekids.com/categories/places/.
Can you please help me to solve this ?
If you want then can send me a mail viaggindia2@gmail.com
Thank you soo much and hope to receive your reply
Kesar