10up / distributor

Share content between your websites.
https://distributorplugin.com
GNU General Public License v2.0
628 stars 155 forks source link

Add more info about posts like categories, tags, author etc. #1188

Open IonTulbure opened 7 months ago

IonTulbure commented 7 months ago

Is your enhancement related to a problem? Please describe.

Hi. Currently post info in distributor_page_pull table is pretty limited (page: ?page=pull&status=new page ). Would be great to have more columns with info like post author, tags, categories, excerpt, time of day (currently it is displayed on hover)

Designs

distributor-enhancement

Describe alternatives you've considered

No response

Code of Conduct

jeffpaul commented 7 months ago

@IonTulbure you should be able to extend that page to add additional filters/sorts by leveraging the existing hooks in the codebase

IonTulbure commented 7 months ago

@jeffpaul Yeah, i already managed to get most info. I also needed to exclude Published posts from the Pulled page. $item param from docs offers info only from the source site.

But if i want to get the new post id and afterwards post status ? This is were i couldn't do it with filters or actions. I had to use $wpdb to get what i need.

cousett commented 5 months ago

Not a developer so I am plussing this without having to extend myself.