![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Wordpress, how to make gallery justified/grid?
hey guys,
i think it's last step in perfecting my sites so i wont bother you for some time since now :D today problem is ugly looking way standard wordpress gallery is displaying thumbs. i know i can use plugin and have gallery look very nice but it's not what i'm looking for - i know it's possible to do this by hand and i wanna know if it's hard or doeable? basically i would like my galleries to have thumbs in form of justified/grid like here: ![]() what do you think guys, can you give me some tips how to make it relatively fast without learning shit for weeks, is it possible?
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
thing is i can use plugin like this one for example:
Demo | Responsive Gallery Grid but it fucks up my lightbox styles i've managed to add to my theme and i have no idea where to add my styles so i could have it and in same time have this grid thumbs.
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,384
|
Can't see any problem there. Any pinterest-like grid theme can do that.
__________________
Obey the Cowgod |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
1. i already have theme which i've spend some time tweaking it.
2. yday i've spend whole day trying to add to ahref tag class i wanted and i finally did it. 3. now i want thumbnails to be displayed in form of justified/grid like in example above. now if you could help me instead of telling me obvious that there's lots of themes like this i would be very happy ;) so yday i managed to add class="mystyle" to ahref tag in gallery like this one: [gallery link="file" ids="2269,2268,2267,2266,2265,2264"] i 've achieved it by adding line at the end of functions.php: function my_get_attachment_link($html) { $postid = get_the_ID(); $html = str_replace('<a', '<a class="mystyle"', $html); return $html; } add_filter('wp_get_attachment_link', 'my_get_attachment_link', 10, 1); but if i'll install plugin from this example http://bdwm.be/rgg/demo/ my style stops working. do you have any idea where should i add my style this time?
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
c'mon guys ffs there's plenty of plugins offering grid thumbnails displays but no solution in form of some css or smth like it, is it really that hard?
tried to google it but all i've found was one fucking plugin after another + themes, where's code for making grid? how does it look like?
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Feb 2015
Posts: 203
|
Add a child theme, and you can do anything with css or php modifications, if needed.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
why would i need child theme?
i got separate domain where i'm testing shit before i'll make it live, it's not a problem of testing some stuff, problem is "how to" i do not know how to display standard wordpress gallery as grid without using plugin. i'm sure there must be some solution, maybe even some copy/paste code to replace somewhere in wordpress i just can't dig into it. or is it complicated beyond php? do i need java, jquery for it - stuff like this rly?
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Nov 2008
Posts: 3,184
|
Did u try with nextgengallery?
__________________
Blog Post Writing and Reviews are **2 cents per word** & Titles and Gallery Descriptions **1 cent per word** We also write Pay Site Reviews, SEO and Mainstream text www.contentpimp.info Contact me on ICQ at 400792466 Payoneer, Paxum and Paypal Accepted forms of Payment by the Pimp |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
did you actually read my post?
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
thanks, i'll try this, could be what i'm looking for.
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |