I
I
Ivan Malyshev2020-07-06 13:59:40
WordPress
Ivan Malyshev, 2020-07-06 13:59:40

How to implement a website event feed for Wordpress?

Interested in the implementation of the event feed on the site. Ideally, this should be a separate page, in which the following events would be added in chronological order:
- publication of a new article on the blog;
- publication of a new product;
- the ability to add an event manually (for example, informing about upcoming holidays).
It would also be nice to display the last 5 events in the sidebar.
Are there already implemented plugins with such abilities? Maybe someone came across?
Or just order from scratch on freelance?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-07-06
@azerphoenix

1) create a custom record type for events.
2) hang a hook for the publication of a new post and / or product. When triggered, create an entry for the event.
3) display this type of records in the template.
4) To be able to add an event manually, display the possibility of publishing a custom post and from the admin panel with a title and content.
Ready

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question