![]() |
![]() |
![]() |
||||
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 question
Hey Guys,
I got thumbs leading to posts (in pinterest style), but what if i want to add simple gallery from time to time and have thumb to lead directly to it instead to post with content, how to do this? any idea? (not to mention problem with featured image which is actually a thumb on the main page).
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 2,613
|
create a custom post type, and a custom field. in the custom field put your gallery url
edit the code pulled by the custom post type in the loop. call the customfield instead of the content. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
i do understand what you wrote however i never done this so i need to process it and figure how to make this custom post and how to make loop.
thank you, i'll work on it.
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,381
|
To do so you will need to alter the main loop of your index template to make it display not only post links (thumbs linked to posts) but also thumbs linked to the large images.
__________________
Obey the Cowgod |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Nov 2001
Posts: 1,662
|
I would keep it simple.
Your theme has code to show the thumb linking to the post. Before that code, add a check for the post custom meta field for an external URL. If it exists, link the thumb to that url. If not, link the thumb to the post normally. Easy peasy. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
https://wordpress.org/plugins/page-links-to/
For the post image, do you have a custom URL option when you click edit on the image? I do.
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,381
|
Quote:
![]()
__________________
Obey the Cowgod |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
__________________
Pure Japan japanese babes blog |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
one way of doing it which occurred to me might be to install an advert plugin, make some thumbs and have them lead to the gallery via those adverts?
__________________
Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES! ![]() Easily my best performing webcam sponsor - CLICK HERE!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
with Colmike plugin it's fast and non brain solution: you paste gallery url under post in the new field provided by plugin, you simply add featured image as usually, wrote title as usually for post and press "post" (or schedule) all i wanted and save me time cracking wp code for half a day (usualy takes me so long..).
using external plugin is never perfect solution, better is to modify code for your need but again: i have no time for this now.
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Fakecoin Investor
Industry Role:
Join Date: Jul 2012
Location: New Delhi, IN
Posts: 7,128
|
Quote:
__________________
WARNING: Stay Away From Marlboroack aka aka Brandon Ackerman
https://gfy.com/21169705-post8.html Donny Long is Felon, Stalker, Scammer & Coward http://www.ripoffreport.com/reports/...lon-int-761244 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,381
|
Your sig is worthless on GFY, my little dirty friend, because:
__________________
Obey the Cowgod |
![]() |
![]() ![]() ![]() ![]() ![]() |