photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

236
active users

#plugin

3 posts3 participants0 posts today

EDIT: Hat sich erledigt !!!

Hallo zusammen.

An die Podcaster und Wordpress-Nutzer unter euch. Gibt es ein Plugin wo man erkennen kann, wie oft welche Folge gehört wurde?

Ein Boost wäre nett.

Danke für eure Hilfe !

Build your own "On This Day" page for WordPress

shkspr.mobi/blog/2023/07/build

I blog. A lot. Too much really. One of the things I like to do is see what I was rambling on about this time last year. And the year before that. And so on.

So, here's my On This Day page and here's how I built it.

WARNING Extremely quick and dirty code ahead!

This allows you to add a shortcode like [ edent_on_this_day ] to a page and have it auto generate a list of posts you published on this day in previous years. You may need to exclude that page from your cache.

Add these functions to your theme or to a new plugin:

function edent_on_this_day_shortcode() {    $today = getdate();    $args = array(        'date_query' => array(            array(                'month' => $today['mon'],                'day'   => $today['mday'],            ),        ),    );    $query = new WP_Query( $args );    $posts = $query->get_posts();    $today = getdate();    $pubDate =  date("D, d M Y") . " 00:00:00 GMT";    $output  = "<h2>From the " . date("jS \of F") . " archives</h2>";    $output .= "<ul>";    foreach($posts as $post) {        $title = $post->post_title;        $id    = $post->ID;        $link  = get_permalink($id);        $date  = $post->post_date;        $postDate = date("D, d M Y") . " " . date("h:i:s O", strtotime($date));        // $thumb = get_the_post_thumbnail($id, 'full');        $archive = "" . date("Y", strtotime($date)) . ": ";        //  Only add an item if it is before *this year*        if (            intval(date("Y", strtotime($date))) <  intval($today['year'])        ) {            $output .= '<li><a href="' . htmlspecialchars($link) .'">';            $output .= html_entity_decode($archive . $title) . '</a></li>';        }    }    $output .= "</ul>";    return $output;}//  Set up the shortcodefunction edent_on_this_day_shortcode_init() {    add_shortcode( 'edent_on_this_day', 'edent_on_this_day_shortcode' );}add_action( 'init', 'edent_on_this_day_shortcode_init' );

I really can't be bothered to deal with WordPress's complicated plugin publishing system - so feel free to copy the above with or without attribution.

I originally built this as an RSS feed - but decided recently that a regular HTML page was more useful. If you spot any bugs, you can contribute on GitHub.

Enjoy!

A graphic of a calendar showing the date "February 25 Sunday"
Terence Eden’s Blog · Build your own "On This Day" page for WordPress
More from Terence Eden
#blogging#HowTo#php

Dear #linuxmusician (s), welcome to Linux Audio Plugin Development! 😎

If you haven't read the #linuxaudio #plugin #developer #interview (s) with the lovely folks from ACMT, @audiothing, Audio Assault, Inphonik, Kazrog, Linux Studio Plugins, RV Audio Design, Sinevibes, Sinuslabs, Sononym or TAL Software, feel free to take a look here: linuxaudio.dev/linux-audio-dev

PD: More interviews with Audio Damage, @uheplugins, Auburn Sounds and Klangfreund are in the making. 🤓

linuxaudio.devLinux Audio Developer's Spotlight | Linux Audio Plugin Development (LAPD)LAPD aims to make Linux more attractive as a platform for computer-based music production.

Irgendwie funktioniert das hier im #Fediverse leider noch nicht richtig. Unter dem Redaktionsaccount @redaktion landen leider nur die mit dem Autor "NHR" veröffentlichten Artikel, obwohl hier doch eigentlich gemäß Konfiguration **alle** Artikel ins Fedi gespült werden sollten.

Für "redaktion" gibt es keinen User, so dass es hier auch keinen Konflikt geben sollte.

Hat jemand eine Idee, wonach wir noch schauen könnten?

The @ardour #Lua scripting workshop at #LAC25 #INSA #Lyon has just started. And I am curious to learn how to extend the functionalities of this great free and #OpenSource #DAW in a programmatically way in #realtime.

As @lualang is #CrossPlatform like #Ardour is, you can draft your script on a Windows machine at work and refine it on your #Linux computer later at home, for example.

Let's see how we can automate tasks in Ardour sessions, which otherwise would require another person operating #plugin parameters, session properties, #routing, etc. interactively.

A few days ago, @florianziegler suggested that all of us running blogs with RSS feeds make a small change:

Please add your email address to your RSS feed.

Add Your Email Address to Your RSS Feed

This email address can be used by RSS feed readers to display an Email button next to each feed entry, so folks can reply to the post via email instead of visiting the post on your site to leave a comment.

That seems like a good idea. I found that there was no WordPress plugin that allowed that out of the box, so I built my own. If you’re a blogger and use WordPress, give it a try!

https://wordpress.org/plugins/rss-reply-via-email/

Next step will be for more feed readers to support that issue. I consequently opened an issue for my feed reader of choice, NetNewsWire, to support this. If you use a different feed reader, don’t hesitate to contact them about it!

florianziegler.comAdd Your Email Address to Your RSS Feed
More from Florian Ziegler
#EN#plugin#RSS

[WordPress]

Wer hat Erfahrung mit dem Schreiben in Markdown und dem Senden an einen auf WordPress basierenden Blog? 🤔

Wie gut oder schlecht funktioniert das?

Wird ein Plugin benötigt und welches ist gut?

Vielen Dank für deine Teilnahme/Hilfe und vielleicht weiter teilen des Beitrag für eine größere Reichweite. 😃👍