Wordpress question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • druid66
    Confirmed User
    • Feb 2006
    • 994

    #1

    Tech 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
  • Manfap
    Confirmed User
    • Jan 2013
    • 2626

    #2
    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.

    Comment

    • druid66
      Confirmed User
      • Feb 2006
      • 994

      #3
      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

      Comment

      • just a punk
        So fuckin' bored
        • Jun 2003
        • 32393

        #4
        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

        Comment

        • HowlingWulf
          Confirmed User
          • Nov 2001
          • 1662

          #5
          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

          Comment

          • Colmike9
            (>^_^)b
            • Dec 2011
            • 7230

            #6
            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..

            Comment

            • just a punk
              So fuckin' bored
              • Jun 2003
              • 32393

              #7
              Originally posted by HowlingWulf
              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

              Comment

              • druid66
                Confirmed User
                • Feb 2006
                • 994

                #8
                Originally posted by Colmike7
                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

                Comment

                • rogueteens
                  So fucking bland
                  • Jul 2006
                  • 8005

                  #9
                  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!!

                  Comment

                  • druid66
                    Confirmed User
                    • Feb 2006
                    • 994

                    #10
                    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

                    Comment

                    • xXXtesy10
                      Fakecoin Investor
                      • Jul 2012
                      • 7127

                      #11
                      Originally posted by druid66
                      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
                      http://gfy.com/21169705-post8.html
                      Donny Long is Felon, Stalker, Scammer & Coward
                      http://www.ripoffreport.com/reports/...lon-int-761244

                      Comment

                      • just a punk
                        So fuckin' bored
                        • Jun 2003
                        • 32393

                        #12
                        Originally posted by xXXtesy10
                        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

                        Comment

                        Working...