Skip Navigation

[Resolved] Get the custom fields base on the CPT

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 0 replies, has 1 voice.

Last updated by adamD-12 3 weeks, 6 days ago.

Assisted by: Minesh.

Author
Posts
#2791112
Capture.PNG

Hey, can you help me with this?

On this page, hidden link there is book now button and that is dynamic toolset field.

I created a spectra popup and I added the dynamic fields as popup content:

[types field='doctor-booking-shortcode'][/types]

When you click the book now the popup works but only read the first booking content. Do you have any idea so that the popup can read the shortcode on each doctor booking?

#2791119

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share where you added the spectra popup and send me admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2791150

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked and gave few tried but it seems the Spectra popup does not have a way to render the dynamic field content.

Can you please get in touch with Spectra support and check with them if they have any hook or any other workaround using which you can render the dynamic content with Spectra popup.

#2791229

Do you have any Idea what popup compatible with dynamic toolset? I tried bootstrap too but doesn't work still the same

#2791274

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you pleaes check now: hidden link

With your archive:
- hidden link

I've added the loop editor code as given under:

[wpv-layout-start]
	[wpv-items-found]
	<!-- wpv-loop-start -->

<div class="container text-center">
  <div class="row doctor-wrap">
          <wpv-loop>
            <div class="col-lg-4 col-md-6">
              	<div class="doctor-container">
                    <div class="doctor-img">[wpv-post-featured-image size="large"]</div>
                    <div class="doctor-info">
                      <div class="doctor-name">[wpv-post-title]</div>
                      <div class="doctor-profession">Skin Cancer Physician</div>
                      <div class="molescan-divider"></div>
                    </div>
                  
 <!-- Modal -->
<div id="my-modal-[wpv-post-id]" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="my-model-[wpv-post-id]" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">[wpv-post-title]</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
        
      </div>
      <div class="modal-body">
        <div class="row">
    			<div class="col-sm-12">[types field='doctor-booking-shortcode'][/types]</div>
          </div>
          
      </div>
      </div>
  </div>
</div>
                    <div class="button-doc-info">
                    
                      <div class="button-book"><a href="javascript:void(0);" data-target="#my-modal-[wpv-post-id]" data-toggle="modal">Book Now</a></div>
                      
                      <div class="button-more"><a href="[wpv-post-url]">Learn More</a></div>
                    </div>
                </div>
              
          </div>
          </wpv-loop>
  </div> <!-- end row -->
          
</div> <!-- end container -->
    
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
		<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
	[/wpv-no-items-found]
[wpv-layout-end]

#2791299

Excellent!!! Thank you so much for your help