Button redirect in modules

Posted in: Newspaper
Post count: 97

I have created a couple of custom posts, in a new website project that i am working on.
i noticed that the button text is Booking and the button url is {cf_tdcf_booking}.

Where does this code redirect, as it returns the not found page. I understand that {cf_tdcf_booking}, will have to be modified.
Reference image https://imgur.com/a/Dx4xMi9

Can you please how to change the {cf_tdcf_booking} to something else?

I want the button redirect to the relevant custom post type.
The details of the custom post type [key] is
travel-agent

View post on imgur.com

The particular field in the custom post type is
paxpnr_booking

Field groups for custom posts 

Home page screenshot of the concern

Home page screenshot of module

Please let me know how to correctly configure the button url.
I am looking for a redirect to the individual custom post type when clicked (for example https://paxpnr.com/travel-agent/sasta-europe-1-2/), at the custom post type field (url), to be more specific.

Post count: 21065

Hello!

You should change the “{cf_tdcf_booking}” into “{cf_paxpnr_booking}”.

Thank you!

Post count: 97

Thanks for your reply. let me check this.
Please let me know about the changes to the below?

tel:{cf_tdcf_phone_number}

Post count: 21065

Hello!

You can add it to the button URL with the phone number value.

Thank you!

Post count: 97

This one is working perfectly “{cf_paxpnr_booking}”, many thanks.

Kindly show some light on how to configure the phone number, or whatsapp…!
Instead of the below
tel:{cf_tdcf_phone_number}

Post count: 21065

Hello!

Check the structure for WhatsApp here: https://faq.whatsapp.com/5913398998672934
What exactly do you want to achieve?

Thank you!

Post count: 97

Hello Thanks for your reply and assitance Bettina!
I was able to map the fields correctly.

I was trying to connect the fields to the pagination on the home page with regards to the custom post.

Is there a guideline to the {cf_*****}
what does cf stand for?

Please share the various codes for {cf_}

Thanks

Post count: 21065

Hello!

It helps you to display a custom field in the button URL, for example, but we have the shortcode custom field as well: https://forum.tagdiv.com/custom-fields-support/
You can display a custom field for a post or listing in a block on your homepage. You should use a custom module template displayed with the help of the flex block builder: https://forum.tagdiv.com/modules-builder-newspaper-theme/

Thank you!

Post count: 97

Hello!
Thanks for your help!I am now familiar with the flex block builder for modules.
I am using a custom template for my custom posts, however the categories and tags are not displayed, on the custom posts.
Please refer the screenshot.
Custom Post screenshot not displaying the required fields other than the date.
2 screenshots

Custom post template

Fields not displayed are
CPT Taxonomy
paxpnr_category

Custom Tags
paxpnr_category

The post url is
https://paxpnr.com/hotel-resort/kaithal-resorts/

Post count: 97

Hello!
How can i edit the default template for custom posts. I do not want to create a new template but only want to copy the default template(default template for posts), and then edit the default template.
Currently the default template needs removal of some unwanted elements.
here is the default post template and the other screenshots.

View post on imgur.com

thanks

Post count: 21065

Hello!

Unfortunately, I can’t see your website page because your website is in maintenance mode.
Should the tags be set as tag names, or should they not?
Try to set only the name of your categories(category) and not the name of your CPT. Also, make sure you selected a category for your posts in Gutenberg.
Unfortunately, you can not edit the default templates with the tagdiv Composer. The default templates settings are in the theme panel settings, or you need custom code, which I do not recommend. For example, you can use the templates of the default demo PRO.

Thank you!

Post count: 97

Here is a url that will allow you to view the site, while being in the maintenance mode.
https://paxpnr.com/?share=fc7008455d8e7cee5149bc4a01cb846cfb89410c7194b916286abf3c3188e6ab

Yes I understand that the custom templates cant be edited.

Coming back to the category names.
here is a custom post url
https://paxpnr.com/travel-agents/fly-creative-online-limited/
The tags are displayed correctly on the right.
Here the primary category is displayed that is selected (ie visa agent), however i have created an additional taxonomy called countries (ie the name of countries for which the visa agent operates).
The custom post type being “travel-agent”
Category of the custom post “visa-agent”

Now I am trying to display the names of the countries below the category.

The category in the custom post (or for the custom post) that needs to be displayed is in the screenshot.

View post on imgur.com

Please let me know how to go about the displaying the same.

Any shortcodes, please share.

Thanks and regards

Amit

Post count: 21065

Hello Amit!

To find out the name of your taxonomies, you can also view a country and check the name in the URL. Apply the correct name there to display the taxonomies you want.

Thank you!

Post count: 97

Hello Bettina!
Thanks for your reply.
Also please point out the best way to create paginated pages, and also how to employ powerful filters to sort the same.
Currently i am stuck here for example the below page.
https://paxpnr.com/tagdiv-composer-draft/
I want to employ more options to filter the posts based on custom fields, more tags and such.

Please refer screenshots and let me know where the guide could be found as to how to use all the fields to get the required paginations.

To View the site please use the below link
Here is a url that will allow you to view the site, while being in the maintenance mode.
https://paxpnr.com/?share=fc7008455d8e7cee5149bc4a01cb846cfb89410c7194b916286abf3c3188e6ab

https://paxpnr.com/?share=fc7008455d8e7cee5149bc4a01cb846cfb89410c7194b916286abf3c3188e6ab

Thanks

amit

Post count: 21065

Hello Amit!

Unfortunately, I can’t see the page, and it points me to the login page. We do not have a block that filters by custom fields. Check this guide: https://forum.tagdiv.com/filters-sorting-taxonomies/ Sensitive information can be sent at contact@tagdiv.com. Please include a link of this topic in your email, so I can identify you.

Thank you!

Post count: 97

Hello Bettina!
I have created loads of taxonomies.
What is the best way to highlight and display in a unique manner?
I am currently trying to style them.

I have created front end submission forms modifying the standard theme template “post your business.

Here is a link to view website
https://paxpnr.com/?share=fc7008455d8e7cee5149bc4a01cb846cfb89410c7194b916286abf3c3188e6ab

Here is the form link.
https://paxpnr.com/post-your-hotel-and-resort/

Here is the custom post url
https://paxpnr.com/accomodation/hotel-ganga-exotica/

I want to style the various taxonomies when displayed on the custom post.

Please refer to screenshot below, and let me know how the fields values could be edited from the back-end after submission. (Currently they are not available to view and edit).

Post count: 21065

Hello!

After the user submits a listing, the CPT will display and assign the global CPT template. All the fields presented in the form should also be present in the CPT template. Check this guide: https://forum.tagdiv.com/filters-sorting-taxonomies/
You can add an image to your taxonomies and color to identify them quickly.

Thank you!

Viewing 17 posts - 1 through 17 (of 17 total)
The forum ‘Newspaper’ is closed to new topics and replies.