PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Featured Image/Theme overlap? + PageLinksTo

  1. I am hoping there is an obvious answer that I am just failing to notice.

    I'd like to turn a tweaked version of the WPShower Sight theme (http://thecinnamonquill.com/blog) into a portfolio site:

    This theme has a 'featured image' option in the post editor and I'd like to make the (gravity)form's 'image upload' as this featured image option. I am not sure how to do this. I know GForms Beta has a 'Set Featured Image' option but I am not sure how that would jive with the theme considering it already has the built-in featured image option. I've looked at the changes submitted in other threads regarding adding some code to the theme's functions.php, but again, my theme already has parts of this built-in. Perhaps some PHP switch-around?

    Here is the functions.php code from the Sight theme. Featured image is known as thumbnail.
    http://www.pastie.org/2558332

    Additionally, I've installed the "PageLinksTo" Wordpress plugin, and I'd like to know if Gforms can support this in some way...otherwise, I know I can manually change up the php and specify a custom field for linking a post to an external site (obviously necessary for a submission-based portfolio site).

    Much thanks.

    Posted 12 years ago on Monday September 19, 2011 | Permalink
  2. Have you tried the beta yet, to see if it works? Looking at your functions.php, it appears that if a post thumbnail exists, it will be used be the theme (around line 535.) I would test the beta version to see if it works with your theme. The code solutions will become unnecessary when the 1.6 version is ultimately released.

    Try it in Gravity Forms with the theme setting both ways (to use or not use the thumbnail.)

    What would you like to know about the "Page Links To" plugin? How do you need that to work? Please post your use case. Thanks.

    Posted 12 years ago on Tuesday September 20, 2011 | Permalink
  3. Ok, thanks. Will see how the beta works w/ my issue.

    Regarding PageLinksTo, how do I construct a Gravity Forms field that will allow a link to be entered that will ultimately go through the PageLinksTo plugin? I don't want the user generated posts to have internal permaliks, but want them (their thumbnail) to link to external sites. This is where the PageLinksTo plugin is useful, but I can't figure out how to translate its value to a form field. Uh, does that make sense?

    Posted 12 years ago on Tuesday September 20, 2011 | Permalink
  4. I'm not familiar with the PageLinksTo plugin so it's not clear to me what you're trying to do at this point.

    Where does the information need to end up, for the PageLinksTo plugin to find it? If it's a custom field on a post, you can capture it in a Gravity Form.

    Do you have an example where this is in use?

    Posted 12 years ago on Wednesday September 21, 2011 | Permalink
  5. The plugin lets you make a Wordpress post link to an external url of your choosing (eg one a user submits) instead of its Wordpress generated url. A meta box appears in the post editor where one enters the custom external url. I should be able to harness that into a form, right?

    I know that instead, I can manually specify something in the php and then use a custom field, but right now the plugin does all that work for me, which is nice. Ideally, I'd like to just use the plugin capabilities within my Gravity form, rather than having to mess with the code.

    Is that possible?

    Posted 12 years ago on Thursday September 22, 2011 | Permalink
  6. Still wondering about this, please?

    Posted 12 years ago on Wednesday September 28, 2011 | Permalink
  7. Gravity Forms does not currently provide any functionality like the PageLinksto plugin nor does it integrate with the PageLinksto plugin out of the box. If you wanted to do this you would have to implement it some other way, such as using a custom field.

    Posted 12 years ago on Wednesday September 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.