Code Snippet for Popular Posts in Newsletter

Posted in: Newspaper
Post count: 3

Hi,

Could you please let me a snippet of code we can use to get the list of most popular posts since we need the embed them in a newsletter.

Where can we find it or can you share that code with us?

Ideally this would list the most popular posts over the last 30 days in order.

Thanks

Post count: 35449

Hi cyanbear, unfortunately, for the moment our theme do not have an option or a code that can list the most popular posts to embed in a newsletter. Such a code can only be made by developers and, because it is a custom request, it will be for a fee -> https://tagdiv.com/web-development-services/.
Thank you for your understanding!

Post count: 3

Hi,

We have a most popular posts widget in our sidebar. There are also options to turn on post sorting by popularity in the theme panel under block settings (screenshot attached).

So could you please provide us with a code snippet to get the most popular posts from the last 7 days?

Post count: 35449

Hi cyanbear,
To see the most popular posts, you’ll need to filter the block using one of those filters -> https://i.imgur.com/lyCJa5Y.png for the & days, the option need to be enabled in the theme panel -> https://i.imgur.com/Haz4xoo.png and you need also to have the post view enabled (if you use standard templates,, the option cam be enabled from the theme panel -> https://i.imgur.com/mCp1Mgd.png if you use cloud templates you’ll need to set the elements with tagDiv Composer on single post template).
Thank you!

Post count: 3

Hi Calin,

I mean can you please provide us with a php snippet for this functionality, so we can pull popular posts into our newsletter plugin.

Or, can the built in newsletter send out the most popular posts each week/month?

Thanks

Post count: 35449

Hi,
The Newsletter plugin from our theme is only for design is not providing any kind of those functionalities like pull popular posts into newsletter. The function used is the one from the source code sources: Mailchimp, Mailer Lite or FeedBurner.
So what you need can not be done with our theme plugin. Maybe it can be achieve with custom work, but I’m nut sure about it, but if you want, you can make a request here https://tagdiv.com/submit-a-request/
Thank you for your understanding!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.