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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-30-2016, 04:09 AM   #1
druid66
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
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 04:42 AM   #2
Manfap
Confirmed User
 
Manfap's Avatar
 
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.
Manfap is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 04:49 AM   #3
druid66
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
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 06:40 AM   #4
just a punk
So fuckin' bored
 
just a punk's Avatar
 
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
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 06:47 AM   #5
HowlingWulf
Confirmed User
 
HowlingWulf's Avatar
 
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.
__________________
WP Porn directory/review theme Maddos $35.

webmaster AT howling-wulf.com
HowlingWulf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 06:49 AM   #6
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
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.
__________________
Join the BEST cam affiliate program on the internet!
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..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 07:08 AM   #7
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by HowlingWulf View Post
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.
Exactly
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 07:14 AM   #8
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by Colmike7 View Post
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.
thank you all guys, i've used Colmike solution cuz it was fastest and does exactly what i needed.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 07:38 AM   #9
rogueteens
So fucking bland
 
rogueteens's Avatar
 
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 07:44 AM   #10
druid66
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
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 09:17 AM   #11
xXXtesy10
Fakecoin Investor
 
xXXtesy10's Avatar
 
Industry Role:
Join Date: Jul 2012
Location: New Delhi, IN
Posts: 7,128
Quote:
Originally Posted by druid66 View Post
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.
good choice and see sig!
__________________
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
xXXtesy10 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2016, 10:16 AM   #12
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by xXXtesy10 View Post
good choice and see sig!
Your sig is worthless on GFY, my little dirty friend, because:
  1. Your sig. has no link to CyberSEO « #1 professional content curation plugin for WordPress since 2006.
  2. The OP is already my customer, so he like many here, knows my software a little bit better than you, Dalit
P.S. As about (1). I will pay you $200 if you put a link to my site into your sig. for a year. I believe this money is 10x more than enough to feed the whole your family during this time.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
leading, thumbs, time, directly, post, idea, content, add, posts, guys, question, hey, pinterest, style, wordpress, simple, gallery



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.