#wordpress 2019-03-28

2019-03-28 UTC
[jgmac1106], [tantek], chrisaldrich, gRegorLove, tbbrown, [schmarty] and [Rose] joined the channel
#
GWG
Morning
#
Loqi
guten morgen
#
GWG
Since this is WordPress related, thought I'd list in here
#
GWG
I have the webmention upgrades I was discussing with pfefferle, which is a refactoring...not feature laden to start
#
GWG
I have bug fixes..not something you can demo
#
GWG
I had an idea about h-cards
#
GWG
And building an importer that would allow you to fill out a WordPress user account by parsing your h-card from another site.
#
GWG
But limited utility right now.
#
[Rose]
Refactoring is pretty handy
jeremych_ joined the channel
#
GWG
But not necessarily a hack day project
#
GWG
I need something to demo
#
[Rose]
Maybe a mini thing you can do first can be the demo, and then you can do refactoring?
#
GWG
I have thought of that
#
GWG
Not sure what yet
#
GWG
The changes we discussed require more than a day's work
#
GWG
Merging Semantic Linkbacks and Webmention
#
GWG
Maybe I will read the issues list
#
[Rose]
Is there a way on a page in WordPress I can pass a parameter to the template being used? E.g. This page template should get the parameter "Shortcuts"? I'm probably phrasing this badly whcih is why my Google fu failed me. Essentially I want to create a custom template which shows posts with specific tags (in a particular category) in a custom format. But instead of creating multiple templates which are essentially the same aside from the tag
#
[Rose]
for, I'd like to pass that to the template.
#
GWG
Query strings
#
[Rose]
Perfect
#
[Rose]
Maybe I'm reading the wrong tutorials, they all seem to have this stuff hard coded.
#
GWG
There already is one for categories and tags
#
[Rose]
GWG++ for understanding my rambling brain
#
Loqi
GWG has 83 karma in this channel over the last year (176 in all channels)
#
GWG
Look at archive templates
#
GWG
In themes
#
[Rose]
I'm using Genesis, so my page_archive is probably quite different, I'll check the default WP themes
#
GWG
That might help
#
[Rose]
It does!
#
GWG
It's how I do custom titles on archives, but the code could easily be inside the template
#
[Rose]
This is fascinating. I really ought to be doing other stuff at work, but instead I'm reading this like most people read a newspaper or scroll through Facebook 😆
#
GWG
Rose, what is?
#
[Rose]
All of the code in your plugin 😆
#
GWG
I think parts of the plugin are getting too big and need to be split/simplified
#
[Rose]
Maybe, but it's still fascinating
#
GWG
Not getting rid of anything
jackjamieson, [schmarty], [Rose], [kimberlyhirsh], [manton], [tantek] and [kevinmarks] joined the channel
#
GWG
[Rose]: Did you find what you needed?
gRegorLove, [eddie], jackjamieson, [jgmac1106] and [Rose] joined the channel
#
[Rose]
I think so!
[tantek], [kimberlyhirsh], jackjamieson, JohnBeales, [schmarty], [jgmac1106] and tbbrown joined the channel