amandablum / mindup

1 stars 0 forks source link

Archives first callout post styling and pagination #98

Closed vitamincee closed 8 years ago

vitamincee commented 8 years ago

On the two archive pages there are callout posts which are larger and have more detail. I've styled them, but I have yet to create the additional loop which pulls them out.

I wasn't sure if I should have two loops - one which calls just the most recent three posts with larger post thumbs, and then an additional loop with an offset of three with smaller post thumbs.

http://dev1.dapperdigital.net/get-mindup/ <-- repo http://dev1.dapperdigital.net/category/news/ <-- archive news

chuckreynolds commented 8 years ago

yeah you can offset just heads up tho that breaks pagination: https://codex.wordpress.org/Making_Custom_Queries_using_Offset_and_Pagination

amandablum commented 8 years ago

Still unresolved. The posts at the top w different styling are still flat HTML, not dynamic. Only the first page of posts should have a featured post/s at the top.

using archive.php news: http://dev1.dapperdigital.net/category/news/ videos: http://dev1.dapperdigital.net/category/videos/ whitepapers: http://dev1.dapperdigital.net/category/white-papers/ webinars: http://dev1.dapperdigital.net/category/webinars/

The repo needs the same work at the top, and pagination is not working.

using tpl-repo.php repo: http://dev1.dapperdigital.net/repo/

chuckreynolds commented 8 years ago

couldn't get to this one tonight. it's 05:30. I'll get it tomorrow.

chuckreynolds commented 8 years ago

Archives should work now - super rough - i'll clean up a bit later. test: http://mindup.vuurrclients.com/category/news/

amandablum commented 8 years ago

not sure if this is related or a new issue. Yes, works, but now the top post on ALL archives are from news cat. ie: http://mindup.vuurrclients.com/category/videos/ this page should have the first post from videos, not news.

amandablum commented 8 years ago

works fine on desktop, on mobile, all three disappear.

chuckreynolds commented 8 years ago

Well... 1 that's weird.

2 this does this on http://dev1.dapperdigital.net/category/videos/

chuckreynolds commented 8 years ago
@media (max-width: 991px)
.three-hero-posts, .hero-post { display:none; }

https://github.com/amandablum/mindup/blob/develop/style.css#L2769

amandablum commented 8 years ago

wtf. why would it display none. what an odd way to do that. you want me to bounce back to cee for css?

On Tue, Apr 26, 2016 at 4:26 PM, Chuck Reynolds notifications@github.com wrote:

.three-hero-posts, .hero-post { display:none; }

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/amandablum/mindup/issues/98#issuecomment-214917887