#wordpress 2017-07-09

2017-07-09 UTC
davidmead joined the channel
#
[miklb]
anyone got a custom pagination snippet I can sub my own CSS classes in?
davidmead joined the channel
#
[miklb]
think I found something I can work with
#
GWG
Oh?
#
[miklb]
I may need to see if it needs any mf2
#
[miklb]
checks off 2 todos. one for my site, one for Permission theme
davidmead, [miklb], prtksxna, tantek, [jemostrom], prtksxna_, [kevinmarks] and [jeremycherfas] joined the channel
#
[miklb]
GWG, I’m overlooking where the h-card is built in post kinds when i get `$author = Kind_View::get_hcard( $meta->get_author() );` I’d like to modify that markup. Any pointers?
#
[miklb]
ah, I found it in class-kind-view
#
[miklb]
though I’m not exactly sure how to pass different width & height. Just pass array as args?
prtksxna joined the channel
#
GWG
[miklb]: I'd like to redo the whole meta class
#
[miklb]
GWG in the mean time, how do I pass different image dimensions from author h-card image?
#
GWG
[miklb]: That is one of the reasons I want to redo it.
#
GWG
It isn't very flexible.
#
[miklb]
found that part of his problem was some cascading style issues, but would still like to try and bump up the size
#
GWG
It really should allow for that.
#
[miklb]
I thought it did, just not seeing how to pass the args
#
GWG
Kind_View::get_author( $author, $args = array( 'height', 'width')
#
GWG
I was just doing that
#
[miklb]
ah, cool.
#
GWG
[miklb]: In the last updates to Syndication Links and Simple Location, I started expanding the options.
#
[miklb]
not get_hcard?
#
GWG
When I started trying to do more with them in Independent Publisher, I realized I need more granularity.
#
GWG
So, I need that in Post Kinds also
#
[miklb]
gotcha
#
GWG
If you have any suggestions re that...
#
[miklb]
this is the first hurdle I’ve come across in awhile, hadn’t been looking at theme templates much.
#
GWG
I meant, arguments for the functions
#
[miklb]
that’s what I meant, I haven’t seen anything else that I’ve tried doing that has needed additional arguments.
#
GWG
It's time though
#
[miklb]
but I didn’t follow your sample you use get_author, but I’m calling get_hcard and if I pass an array for $args in get_hcard it doesn’t get passed, stays default 32 32
#
GWG
That's why it needs adjustment
#
GWG
Maybe today, after I release a new Bridgy
#
[miklb]
no worries. thanks!
#
GWG
I have that registration stuff I wrote at IWS
#
[miklb]
I’m in middle of making dinner anyway.
#
GWG
Dinner at 6AM. What a concept
[eddie] joined the channel