#wordpress 2024-07-17

2024-07-17 UTC
#
GWG
Zic: Loqi is a bot
#
GWG
I just miss chatting with [pfefferle]
#
Zic
@GWF My next mistake :P
#
Zic
I didn't see Your message because I didn't change the day to the next in this chat
#
Zic
☺️
[tantek], [Murray], [Otto_Rask], [aciccarello], [jacky], johnbrtt, gRegor, ms_boba[d] and candidcorvidae joined the channel
#
timeissuspect
Here's a code snipppet for easily adding some content to the footer of your RSS feed in wordpress:
#
IWDiscord
<t​imeissuspect>
#
timeissuspect
function add_to_rss_feed($content) {
#
IWDiscord
<t​imeissuspect>
#
timeissuspect
global $post;
IWDiscord joined the channel
#
timeissuspect
Here's a code snipppet for easily adding some content to the footer of your RSS feed in wordpress:
#
timeissuspect
if( is_feed() ){
#
timeissuspect
```
#
timeissuspect
$content = $content . get_post_field( 'post_content', 974 );
#
timeissuspect
function add_to_rss_feed($content) {
#
timeissuspect
return $content;
#
IWDiscord
<t​imeissuspect>
#
timeissuspect
// post id 974 /rss-footer contains the content. It has date 1950 and is at the end of the post dashboard
#
timeissuspect
}
#
timeissuspect
}
#
timeissuspect
Means you can just update a post at the end of the dashboard (id 974 in my case). I use it for a "coming soon" thing to advertise some future content schedule
#
timeissuspect
I know there are plugins for this sort of thing, but I kinda like editing content in posts rather than config screens, particularly when it's dynamic
bennyp, Kaja, gRegor, Testing, capjamesg, gambero, DJ_[dj_je][d] and sdavidprince joined the channel
#
[pfefferle]
thanks a lot for the nice review Zic++
#
Loqi
Zic has 1 karma over the last year
candidcorvidae, Zic and dragon50001 joined the channel
#
Zic
@pfefferle 👍
gRegor, Zic and W1THRD joined the channel