#wordpress 2019-04-21

2019-04-21 UTC
gRegorLove and [jgmac1106] joined the channel
#
Loqi
gwg has 81 karma in this channel over the last year (169 in all channels)
doubleloop joined the channel
#
doubleloop
What would be the best way to do basic processing like linking URLs when posting via Micropub?
#
doubleloop
Ideally I'd like to post Markdown via micropub, but just autolinking URLs would be a good start
#
doubleloop
(although now I'm reading discussion on markdown at https://indieweb.org/markdown and http://tantek.com/w/Markdown)
#
doubleloop
But I'd definitely like to autolink URLs at least
[schmarty] joined the channel
#
Jeremycherfas
Quietly upgrading ZenPress to Autonomie and trying to preserve my child modifications.
#
GWG
Linking to what?
doubleloop joined the channel
#
doubleloop
GWG: if I put a URL in my post, I would like it to be converted into a hyperlink
#
doubleloop
Let's say this post for example, that I created via micropub: https://doubleloop.net/2019/04/20/5259/
#
Loqi
[Neil Mather] Ooo, Magit Forge is niiice. Let’s me work with issues in a Github/Gitlab repo straight from Magit in Emacs. (https://github.com/magit/forge)
#
doubleloop
It has a link in it, but on my site it isn't a hyperlink
#
doubleloop
It's just plain text
#
Jeremycherfas
In functions.php of Autonomie, there is a function that adds some CSS if(has_header_image), around line 311. I'm wondering how to replace that in my child functions.php so I can style it myself. Any ideas, please.
#
Jeremycherfas
In fact, all I really want to do is replace the wp_add_inline_style on line 322.
#
GWG
Doubleloop, seems more a general WordPress plugin option over a specific Micropub thing
#
doubleloop
GWG: I think you're right
#
doubleloop
I'll have a search and see if there are any plugins that do something like that
#
GWG
There are
#
Loqi
[Scott Reilly] Description Automatically turns plaintext URLs and email addresses into links. This plugin seeks to replace and extend WordPress’s default auto-hyperlinking function. This plugin uses different pattern matching expressions than the WordPress defau...
#
doubleloop
(interestingly I see it has been floated as a micropub-extension: https://indieweb.org/Micropub-extensions#Ideas_for_other_types_of_queries)
#
doubleloop
GWG: nice, thanks!
#
doubleloop
(or at least, floated as a query to see what the server can do with the text))
[Rose] joined the channel
#
Jeremycherfas
!tell pfefferle Thanks for the work on Autonomie; looking good. I gave up on the header image, as I just wasn't able to get the size I prefer, but the site looks just fine without.
#
Loqi
Ok, I'll tell them that when I see them next
the_actor joined the channel
#
the_actor
Hi guys!
[Rose] joined the channel
#
[Rose]
Should multiple photos be supported in a photo post? I've just posted 3 to Instagram, own your gram shows them being posted on, but only the first shows on my site.
#
GWG
[Rose]: We never got consensus on that
#
GWG
Media handling from Micropub to Post Kinds is an open issue for me
#
GWG
What is photo?
#
Loqi
A photo is a post whose primary content is a photograph or other image, with an optional caption. With multiple photographs it becomes a multi-photo post https://indieweb.org/photo
#
[Rose]
Aha. Maybe we can make that a Berlin project or mini project?
#
GWG
What is multi-photo?
#
Loqi
A multi-photo is like a photo post, except just with multiple adjacent photos, either in a series, or tiled / arranged in some layout https://indieweb.org/multi-photo
#
GWG
[Rose]: Happy to with or without an IWC
#
GWG
I'll likely remote into the other two if it is an option
#
GWG
I also have not determined if we should go the way of a multi-photo post, which has an analog inna WordPress gallery or a collection post
#
[Rose]
Hmm, I would say the former with gut instinct, but I have little knowledge.
#
the_actor
Can somone explain to me whether or not the page order of a child page is consireded it's own set of ordered pages, or if the page order is glogal and child pages will be considered as any other page regarding order? Thanks
#
aaronpk
GWG: this has been an established thing for a while, is this just an internal Wordpress architecture question?
#
aaronpk
I don't know the Wordpress terms but I would not do it in a way where the individual photos have their own Wordpress "posts"
#
aaronpk
Every image in a multi-photo is supposed to be part of the same post, which means it shares things like published date and tags by default
#
the_actor
+GWG I would not medd with what google is trained to read and force a diffrent way that could effect your SEO. Find the best practice if SEO is of importance to you.
#
[Rose]
I agree with Aaron
#
GWG
Where did Google and SEO come into it?
#
GWG
Confused about that
#
GWG
It is an internal architecture question mostly
#
GWG
WordPress separates image from gallery in post formats.
#
GWG
Right now, Post Kinds only has photo, not multi-photo
#
GWG
I am still trying to figure out if I should distinguish
#
sknebel
I think in most cases different UX is expected between a gallery and a multi-photo post
#
sknebel
(although we don't have much in the way of recommendations for galleries indieweb-wise, a post showing e.g. 3 photos with a note works differently to e.g. a gallery containing 100 photos from my last holiday)
#
GWG
sknebel, not quite so much in WordPress
#
GWG
I could certainly stand to improve photo handling regardless
#
sknebel
I'm talking about "what the visitor expects to see"
#
sknebel
since I don't know how flexible rendering is to map the backend structures to display
#
sknebel
just trying to provide input for your decision making process to consider, I don't know enough about the WP details to recommend a choice
#
GWG
Well, I have been struggling because all files uploaded to WordPress are stored in the posts table
#
GWG
Then you make a post by attaching that post to another one
#
GWG
For now, I may stick with Microsub and Webmention projects
#
GWG
I understand the direction needed to go on those
[davidmead], [stefp], JuJu1 and [kimberlyhirsh] joined the channel
#
[kimberlyhirsh]
doubleloop I use auto-hyperlink-urls plugin and I'm very happy with it. I also use a plugin containing the code described here to autolink @mentions to Twitter https://www.wpbeginner.com/wp-tutorials/how-to-automatically-link-twitter-usernames-in-wordpress/
#
[kimberlyhirsh]
It does mean I have to use the HTML entity any time I want to actually display @ but that's not a big deal.
[jgmac1106] and gRegorLove joined the channel