2019-11-10 UTC
[chrisbergr], gRegorLove, [tantek], [jeremycherfas], [LewisCowles], AbedB, [fluffy], [jgmac1106] and Alexander-47u joined the channel
[grantcodes], stefanos82, [KevinMarks] and [jgmac1106] joined the channel
# 14:09 GWG [jgmac1106]: I gave you a line yesterday
# 15:12 GWG [jgmac1106]: adactio's indy map made me bump up archive maps on my list of things to do
[jeremycherfas], [tantek], [voss], [schmarty], blzDiscord[m], testy, [KevinMarks], [chrisbergr], [snarfed] and [fluffy] joined the channel
# 18:05 GWG I'm having trouble finding a query var to disable paging on a WordPress archive
# 18:16 [chrisbergr] Does this the job? $query = new WP_Query( array( 'nopaging' => true ) );
# 18:22 GWG [chrisbergr]: Not on an existing query
# 18:22 GWG nopaging is not a public query variable
# 18:28 [chrisbergr] Oh, sorry, confused by the same naming of url part and wp query args.
# 18:30 GWG Not in this case, I'd need everyone to mod their theme
# 18:31 GWG That's what I'm generating, but it only shows the locations of the posts on the archive page
# 18:33 GWG I'm using the description filter that came in at the same time
# 18:34 GWG Either way, going to finish the feature
# 18:34 GWG I can see if I can add a query variable that will disable paging
# 18:36 [chrisbergr] Oh, but you want the locations from all posts in this archive? then I understood "disable paging" wrong.
# 18:37 GWG How does the map look though? Useful?
# 18:38 [chrisbergr] I love the idea of what you want to do 🙂 The map is a bit dark in my opinion.
# 18:40 [chrisbergr] With this static map image from mapbox you're able to define the dimensions of the image, right? Maybe you choose something 16:9 and do width:100% with auto height?
[jeremycherfas] joined the channel
# 18:40 GWG Map height and width is also a setting in the app.
# 18:41 GWG Not sure if I want to have a different width/height for archive views
# 18:42 Loqi [David Shanske] Gate 426, Dublin Airport
# 18:45 GWG Static maps require an absolute height and width.
# 18:45 GWG I suppose I could figure out some sort of Auto calc setting
# 18:45 GWG I imported these posts from my live site
# 18:48 GWG [chrisbergr]: Is that for my theme or all themes?
# 18:49 GWG Again, have to think about everyone
# 18:49 [chrisbergr] This would perfectly fit your case with the twentysomething theme. And also a good default. And you said that this can be defined via settings
# 18:51 [chrisbergr] can you access this value and use it for the with of the mapbox image? and then just /16 *9 for the height
# 18:58 GWG First I have to finish the archive feature. But I'll note it
# 18:59 Loqi [dshanske] #132 Add Auto-Size for Maps
# 19:02 [chrisbergr] Maybe you can do $query->set to increase the limit to an incredible heigh value in this action
# 19:03 [chrisbergr] Nah, then you'll also display all posts on one archive page what may not be a good way.
tsrt^, efnDiscord[m], [LewisCowles] and [snarfed] joined the channel
gRegorLove, [jeremycherfas], [jgmac1106], gray00Discord[m], testy and [Ramiro_Ruiz] joined the channel