#wordpress 2019-03-24

2019-03-24 UTC
#
GWG
I meant, the archive templates?
#
GWG
I'll have to look
[eddie], [cleverdevil], gRegorLove_, [Rose] and [schmarty] joined the channel
#
[Rose]
Well, I just switched everything over, and I'm crossing my fingers it all works out
#
GWG
I am pulling for you
#
sknebel
[Rose]: your photo on the homepage isn't loading
#
[Rose]
Yeah, fixing those things
#
[Rose]
That one's done - but I just found some posts dated incorrectly.
jeremych_, [Rose] and [kevinmarks] joined the channel
#
GWG
[Rose]: What is still on the punch list?
#
[Rose]
Formatting the category pages
#
[Rose]
And fixing the menu not being highlighted in the blog and microblog category pages
#
[Rose]
And setting a default slug if no title is set, I'm 100% sure that's doable
#
[Rose]
Suggestions are very welcome!
#
[Rose]
also needs to look into syndicating to her Reddit profile and Mastodon
#
[Rose]
And a Facebook page
#
[Rose]
Food for thought!
#
Jeremycherfas
Sybdicate all the things
#
[Rose]
Exactly!
#
Jeremycherfas
Well, not quite exactly. Typing has gone to pieces after a morning gardening.
#
[Rose]
I should also re-import my webmentions
#
GWG
Has anyone done POSSE to Reddit?
#
sknebel
yes, fairly sure I saw someone do that
#
sknebel
remember though that many subreddits and to some degree reddit itself don't like people submitting from their own sites, or at least doing so predominantly
#
sknebel
(POSSE-ing bookmarks etc as submissions, or comments, of course wouldn't be self-submissions)
#
sknebel
what is reddit?
#
Loqi
Reddit is a link aggregator and bulletin board site where community members may submit links and text posts, vote on the submitted entries, and post comments on them https://indieweb.org/Reddit
#
[Rose]
I would POSSE to my own profile
#
sknebel
right, that's a thing now
#
[Rose]
As they're intended as Facebook profiles type things now it seems to make sense
#
GWG
Re the slug
#
GWG
I might bump something up
#
GWG
Looks easy enough
#
[Rose]
It does!
#
GWG
[Rose]: Maybe I should add it into a plugin
#
GWG
Question is...what should the slug be if there is no title?
#
[Rose]
Sunday project? :angelic grin:
#
GWG
[Rose]: Hack day at New Haven?
#
[Rose]
I would like to be able to specify a date format
#
GWG
It seems like this is a pretty short project.
#
[Rose]
Some people might like to use the post kind
#
[Rose]
I would love to figure this stuff out
#
GWG
Well, this is a discussion I'm happy to have
#
GWG
I use a date based permalink structure, but I don't like the last number being the post_id
#
GWG
Post Kinds has the most data, so tempted to do it in there quickly.
#
[Rose]
I would try bribing you with chocolate, but post takes forever
#
GWG
[Rose]: I've been on a diet for 2 years now.
#
GWG
Hasn't worked, but the thought is appreciated on the chocolate.
#
GWG
[Rose]: I enjoy adding simple things for others, but as I said, that is probably one on my list as well.
#
GWG
The last one I added in that vein was replacing the (No Title) in the admin with a summary of the actual note content.
#
GWG
I should be able to hook into that code.
#
GWG
I want to do something about this as well.
#
Loqi
it is probable
#
[Rose]
I love that feature!
#
[Rose]
I need to modify hidden titles in my themes if there is no title, I just want to show the relative date for the last 3 days, and then the date beyond that.
#
GWG
[Rose]: Asuh suggested it, I think. But I love it as well.
#
GWG
and I'd love doing something about the slugs, although I think I would need some settings as you want date, I want something generated from context.
#
[Rose]
Unfortunately my current code does not work as I would like 😛
#
[Rose]
I would agree settings are great. I definitely do not want the post ID
#
GWG
I should be able to bump up a simple filter based on the title code I have.
#
[Rose]
I would prefer that over the current post id
#
GWG
[Rose]: Feature implemented save for tracking a PHP notice
#
[Rose]
Woot!
#
Loqi
giggles
#
GWG
Problem though.
#
GWG
It can't get at anything but the excerpt and summary because the other information hasn't been saved yet.
#
GWG
Will see if I can figure it out
#
[Rose]
That's a great start though
#
GWG
Yes, will work for notes.
#
GWG
I could get it to work for a draft.
#
[Rose]
Yup. Is the code in the git repo already?
#
GWG
I may need to do something in Micropub as well.
#
GWG
One second.
#
GWG
Committing
#
[Rose]
I'll take a look!
#
GWG
Just went in
#
[Rose]
I wonder how often people specify the date through micropub
#
[Rose]
Because if it's rare then the current time and date might also be an option
#
aaronpk
It's definitely an exception rather than normal. Ownyourgram does though since it's often posting backdated posts. You definitely want the micropub endpoint to use the current date if the client doesn't send one
#
[Rose]
Indeed, I just wonder if we could use the current date for the slug as well, as that doesn't require information not already available.
#
GWG
[Rose]: Doable.
#
GWG
That info is available.
#
GWG
I'd want it as a setting, for reasons mentioned.
#
[Rose]
Naturally
#
[Rose]
And it should be a setting, and considering WordPress' default permalink settings, the date shouldn't be default preference for a slug
#
Loqi
[colin-walker] wordpress-blank-title: Replace blank WordPress post title with the date/time
#
GWG
But that does the title.
#
GWG
Not the slug
#
[Rose]
Why did this not show up in my duck duck go research?
#
[Rose]
Title is great
#
GWG
The author has been in here
#
[Rose]
I don't need to set the title, just show it. But this is a great help.
#
GWG
So combine my code and his?
#
[Rose]
That's the plan.
#
GWG
I will contemplate micropub options
#
Loqi
[dshanske] #196 Set Slug based on properties
#
[Rose]
GWG++
#
Loqi
GWG has 81 karma in this channel over the last year (173 in all channels)
#
[Rose]
Was it [frank] who is familiar with Genesis?
[frank] joined the channel
#
[frank]
I am somewhat familiar with Genesis. Not all the nuts and bolts.
#
[Rose]
I'm just wondering why replacing the genesis_do_post_title function isn't working and was wondering if anyone else had run into that
#
[Rose]
(Whatever I return the title is empty right now, I suspect my code is wrong, but I copied an example)
An1, [jgmac1106], [Sadik_Shahadu], [cleverdevil] and tw2113 joined the channel