Wordpress published content (post) is not visible until open again and update it - wordpress

I have imported custom post type name "listing" through excel file as published now the post not showing on category and blog or archive page but can be viewed single by opening from wordpress backend
I do not want to reopen all post and update it one by one because these are 2944 no. of posts
any help ?

Related

Wordpress - Listing custom posts using Ajax load more plugin is not working

I have use ajax load more plugin in my wordpress website. The problem is that its display list of custom post, after sometime it is not showing any post from the same post type on same page.

Wordpress custom post type single post preview for pending status

I have created custom post type and created the post in a front custom form using logged in user and set status 'pending'. Now I want to show my created post preview like the published post.
I have hit URL like admin
http://localhost/project/?post_type=deals&p=3305
but it is working for admin, not for author user.
In Another way, we can say that how to show pending custom post for author only for preview.
Please help

Fishpig Wordpress Magento addons Custom post types & taxonomy

I'm very new to Magento.
I want WordPress post and custom post type into Magento. For that, I've installed Magento WordPress Integration extension. I got success to fetch posts from WordPress which I've installed in Magento root using the same database which had been used by Magento. For custom post type I've also purchased Post Types & Taxonomies add-ons of fishpig and installed it on my server.
Now, here is my question, how to get custom post type from WordPress into Magento? Also, I want to maintain URL structure as well. URL structure which I would like to maintain is... suppose my Magento site is like this www.example.com and my posts and custom posts like news, press, team etc... my URL would be www.example.com/blog for posts and www.example.com/news, www.example.com/press, www.example.com/team etc...
Hope this description is sufficient to get my problem. For getting this thing done I've tested all possible ways. I've also referred these URLs http://fishpig.co.uk/magento/wordpress-integration/advanced-custom-coding/#post-models, enter link description here but I can't understand from here.
Any help would be greatly appreciated.
Thank you,
Have you already created your new post types? If not, install the Custom Post Type UI and use this to create a new post type. Ensure that you set the Archive option to True/Yes (this creates the page that lists of the posts for the new custom type).
When you have created a custom post type, create a new post for that type in the WordPress Admin and save it. You should then be able to click the URL it generates for the post and see it in Magento.
If you get a 404 error at this point, ensure that you have latest version of Magento WordPress Integration installed and that you have no errors at System > Configuration > WordPress in the Magento Admin.

show draft posts to author wordpress

I am creating custom post types from front-end.I have created some role using add_role e.g manager
This manager is creating custom post type (e.g contest).I am saving all contests as Draft
and then admin publish them.
But I want to show preview to manager when he creates contest.When I am viewing that post it is showing 404 while when admin previews it works.
Please help me how to show draft post to author who is creating it.
Thanks in advance!

WordPress page deleted from database, still showing up even in a new browser

I am trying to set up a new custom post type and create a page (based off the custom post type archive template) and keep it private until it's ready to be published. I created a page and made it private, but it was visible to everyone (although not in the dropdown like it normally would be, just from entering the permalink URL). So I deleted that from the database (in phpMyAdmin) and tried again just leaving the page a draft. The permalink URL still shows the page template for the custom post type archive. I deleted the draft in phpMyAdmin and still the URL shows the page template (should be giving a 404). I tried this in a different browser where it had never been opened and it also gives the page template.
Does anyone have any idea why this is happening? Why isn't it working to privately publish and why aren't the deleted pages going away?
You propably only deleted the content of your page, but there are more relations to the page. See the database diagram on wordpress how posts are connected to other tables in the database as well. You'll have to delete every record pointing to that post!
I really recommend you not to play around in the database of wordpress, there's a reason why WP gives you the opportunity to administer everything in their admin panel!
To leave a page/post invisible to others, just don't publish it! As a draft, no one can access it unless he/she has access to your admin panel and the required rights to see drafts!
As soon as you publish it - it's published. You can also just use the preview view to see how it would look like! Why your private page was visible to everyone is another question, maybe you made some mistakes with your DB...hard to reckon without any further information. Try to set it up as a normal post/page and publish it privately, log out and see what happens!

Resources