Skip Navigation

[Resolved] The content of CPT is not displayed correctly – something is missing

This support ticket is created 2 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by SJ5362 2 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2402229
Screen Shot 2022-06-21 at 19.10.39.png
Screen Shot 2022-06-21 at 19.10.35.png
Screen Shot 2022-06-21 at 19.10.23.png
Screen Shot 2022-06-21 at 19.10.15.png

Hi,

I've been using Toolset for many years now. It's the first time that I deploy WordPress site on GitLab with Toolset. Basically, all standard plugins and themes are deployed on Nexus and custom plugin and child theme are deployed on GitLab. In this project, Divi theme and Toolset plugin are store in Nexus and Divi Child theme is deployed on GitLab.

The intial project on Flywheel can be found here :
* hidden link
Popup for privacy
username : 123clic
password : BMDV32022

The initial project has been deployed on GitLab can be found here :
* hidden link

What I don't understand is that why the following pages are not shown on :
Page 'Nos Univers'
Content is shown correctly : hidden link
Content is not shown : hidden link

Page 'Media Kit'
Content is shown correctly : hidden link
Content is not shown : hidden link

When we created CPT, views and content template, could you please confirm that all the data will be stored in the database and nothing will be created in the file directory?

The plugin that is not the same with those 2 sites are :
* iThemeSync : Manage updates to your WordPress sites easily in one place
* WPRocket
Could you please help checking why the content is not shown? What's still missing?

Thank you so much in advance for your help.
Best regards,
Sawitri

#2402313

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

Yes I can confirm that all the content template information is being stored in the database and nothing is stored in the file directory.

Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

I will need the access for the live site since that's where the issue is.

I've enabled the private fields for your next response.

Thanks,
Shane

#2402835

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Sawitri,

Thank you for the login information.

I'm assuming this code below loads the content for the tabs.

<div class="tab-pane fade <?php if($tab == '' || $tab == 'SENIORS') { echo "active show"; } ?>" id="seniors" role="tabpanel" aria-labelledby="seniors-tab">
              <p> 
                <?php dynamic_sidebar( 'seniors' ); ?>
              </p>
            </div>
            <div class="tab-pane fade <?php if($tab == '' || $tab == 'ACTUALITE') { echo "active show"; } ?>" id="actualite" role="tabpanel" aria-labelledby="actualite-tab">
              <p>
                <?php dynamic_sidebar( 'actualite' ); ?>
              </p>
            </div>
            <div class="tab-pane fade <?php if($tab == '' || $tab == 'FAMILLE') { echo "active show"; } ?>" id="famille" role="tabpanel" aria-labelledby="famille-tab">
              <p>
                <?php dynamic_sidebar( 'famille' ); ?>
              </p>
            </div>
            <div class="tab-pane fade <?php if($tab == '' || $tab == 'SPIRITUALITE') { echo "active show"; } ?>" id="spiritualite" role="tabpanel" aria-labelledby="spiritualite-tab">
              <p>
                <?php dynamic_sidebar( 'spiritualite' ); ?>
              </p>
            </div>
            <div class="tab-pane fade <?php if($tab == '' || $tab == 'JEUNESSE') { echo "active show"; } ?>" id="contact" role="tabpanel" aria-labelledby="home-tab">
              <p>
              <?php dynamic_sidebar( 'jeunesse1' ); ?>
              </p>
            </div>
            <div class="tab-pane fade <?php if($tab == '' || $tab == '7-12ans') { echo "active show"; } ?>" id="profile" role="tabpanel" aria-labelledby="profile-tab">
              <p>
                <?php dynamic_sidebar( 'jeunesse2' ); ?>
              </p>
            </div>
            <div class="tab-pane fade <?php if($tab == '' || $tab == '13-19ans') { echo "active show"; } ?>" id="home" role="tabpanel" aria-labelledby="contact-tab">
              <p>
                <?php dynamic_sidebar( 'jeunesse3' ); ?>
              </p>
            </div>
          </div>

And this content is coming from the sidebars at the link below Correct?
hidden link

However when I check the corresponding widgets they are all empty. What you perhaps need to do is to re-add your views to the widget areas.

Thanks,
Shane

#2402861

My issue is resolved now. Thank you!