Hi @ayano-hisa-photo,
Yes, I don’t see why WPP wouldn’t work with Custom Post Type UI. All that plugin does is provide an user interface (hence the UI in its name) to create/edit custom post types.
Make sure you’re passing the right custom post type name to WPP and that your CPT is configured to be publicly accessible, otherwise WPP won’t be able to find them.
Thread Starter
CC05
(@ayano-hisa-photo)
Oh I didn’t realize it gives example codes to make changes. So convenient!
I added
<?php
$args = array(
‘post_type’ => ‘creators_life,basic_life_creators,artist_grant’
);
wpp_get_mostpopular($args );
in the Snippets plugin but it still doesn’t show up. Any idea?
Thanks!
Looks good to me so the problem likely lies somewhere else. Where is the popular posts list supposed to show? Also, are you using a caching plugin by any chance?
Thread Starter
CC05
(@ayano-hisa-photo)
OK… Hmmm…
Popular posts are supposed to show on the right side bar below 2 ads and social media. It says “Most Popular” but without the list.
No I am not using caching plugin and I don’t know what it is. What does it do? Should I use it?
Thanks.
Thread Starter
CC05
(@ayano-hisa-photo)
I actually have other problems on other page.
Like this page supposed to show archive from a custom post type but it shows nothing.
https://creatorscycle.com/basic_life_creators/
And this page is supposed to show 2 more posts in the archive but they are missing.
https://creatorscycle.com/artist_grant/
So maybe it’s related to this issue… This issue has to be because of either Elementor or CPT UI.
After fixing this, maybe the popular posts will show up…. I hope.
To he honest, I think you should consider getting a developer to look into all these issues for you at this point. Can’t help with Elementor nor theme related problems as that’s out of the scope of support I provide here.
If there’s anything WPP related I can help with please don’t hesitate to ask.
Thread Starter
CC05
(@ayano-hisa-photo)
Oh I didn’t mean to ask you to work on Elementor or theme issues… I already asked Elementor for help with the posts not showing up on archive page as I have their pro version. I was just giving the info because I thought it might be part of the reason why popular posts are not showing up.
Thread Starter
CC05
(@ayano-hisa-photo)
Just found out why popular posts not showing up… I just needed to assign the new post types within Elementor but not with the snippets. I guess Elementor overwrites snippets. It was not even related to the other errors but just about me not thinking through…
Glad to know you were able to figure out! And thanks for sharing how you fixed it as well, I’m sure future readers might appreciate that.