<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Strip HTTP from field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field</link>
		<description>Gravity Support Forums Topic: Strip HTTP from field</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 23:13:14 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/strip-http-from-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19535</link>
			<pubDate>Mon, 28 Feb 2011 12:38:05 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19535@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@fonzzzie You can't execute a shortcode within a schortcode like that.  You would have to modify the [screenshot] shortcode so it incorporates the code of the [strip] shortcode and applies it to the url=&#34;&#34; that is passed to it.  So you have to merge those 2 shortcodes you are using so that the [screenshot] shortcode takes care of it for you.  &#60;/p&#62;
&#60;p&#62;We can't write that code for you, it's a customization so it's something you will have to piece together from what has already been provided or consider hiring a developer to take care of the customization for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fonzzzie on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19518</link>
			<pubDate>Sun, 27 Feb 2011 21:17:48 +0000</pubDate>
			<dc:creator>Fonzzzie</dc:creator>
			<guid isPermaLink="false">19518@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK Guys,  I have been trying and testing but i can't seem to get it right.&#60;/p&#62;
&#60;p&#62;[screenshot url=&#34;[strip=http://www.domain.com]&#34;]  doesnt work, so i need to get the stripped domain in another format. I have tried to set de default value of a hidden field to [strip={Website:5}]  and then use the {hidden field} to get the data back into the string [screenshot url=&#34;{hidden field}&#34;]. But or it doesnt work like that, or i am using the wrong settings. Please give me a hint on how i can do it. (As last resort i could use the title as it is the stripped url, but in future i want also other entries besides URL's so then i would be in trouble later.&#60;/p&#62;
&#60;p&#62;Also the visitors can add an RSS url (optional) which displays the last 10 posts.&#60;br /&#62;
The RSS URL can be added if a checkbox is checked. (conditional)&#60;br /&#62;
I can get the last items on the website, no problem. But I also want to display the text &#34;last 10 posts from [strip={Website:5}]&#34;: &#34;  But of course only if visitor enters a RSS url.&#60;br /&#62;
So adding the text to the template will not work as it will always display this text.&#60;/p&#62;
&#60;p&#62;So can i e.g. put in some field (e.g. RSS)  &#34;last 10 itmes : [rssinpage rssfeed=''domain.com/rss&#34;] &#34; and put the shortcode {rss} in the template to display the data?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fonzzzie on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19299</link>
			<pubDate>Thu, 24 Feb 2011 05:37:38 +0000</pubDate>
			<dc:creator>Fonzzzie</dc:creator>
			<guid isPermaLink="false">19299@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have followed your steps again, and it seems to be working now!  GREAT.&#60;/p&#62;
&#60;p&#62;However, with each solution there is a new problem.&#60;br /&#62;
I want to insert &#34;[strip={Website:5}]&#34;  into a shortcode,&#60;br /&#62;
[screenshot url=&#34;[strip=http://www.domain.com]&#34;]  but you can imagine that is not going to work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19293</link>
			<pubDate>Wed, 23 Feb 2011 23:23:42 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">19293@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Fonzzzie,&#60;/p&#62;
&#60;p&#62;The top of your functions.php file should already have an opening PHP tag &#34;&#38;lt;?php&#34; and the the bottom you will find a closing PHP tag &#34;?&#38;gt;&#34;. I would recommend pasting this code at the very bottom just before the closing PHP tag &#34;?&#38;gt;&#34;. If the issue persists, post a screenshot of the placement of your code. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fonzzzie on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19288</link>
			<pubDate>Wed, 23 Feb 2011 20:48:06 +0000</pubDate>
			<dc:creator>Fonzzzie</dc:creator>
			<guid isPermaLink="false">19288@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks so far... I think i am placing the code wrongly as i get this message: &#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home1/laptopt1/public_html/domain/wp-content/themes/twentyten/functions.php:1) in /home1/laptopt1/public_html/domain/wp-includes/classes.php on line 1601&#60;/p&#62;
&#60;p&#62;I should not include the PHP &#34;quotes&#34;  at the beginning and end right? Because then i will get a parse error.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19245</link>
			<pubDate>Wed, 23 Feb 2011 14:29:04 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">19245@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Haha, this one turned out to be a little trickier than I thought... but here is a solution for you. &#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;1 - Paste the following code into your theme's functions.php: &#60;a href=&#34;http://pastie.org/1598990&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1598990&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;2 - Update your Post Title / Post Body Content Template to include this &#34;[strip={Website:5}]&#34; wherever you'd like just the domain name. Example: &#60;a href=&#34;http://grab.by/973R&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/973R&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;That's it. :)&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;&#60;strong&#62;Note:&#60;/strong&#62; You can still use the {Website:5} token with the [strip=] to display the full URL.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fonzzzie on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19215</link>
			<pubDate>Wed, 23 Feb 2011 07:01:21 +0000</pubDate>
			<dc:creator>Fonzzzie</dc:creator>
			<guid isPermaLink="false">19215@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What i do is, I let visitors enter a URL thru a form. e,g,  &#60;a href=&#34;http://www.domain.com&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com&#60;/a&#62;.&#60;br /&#62;
Currently I take the info from the URL field and set it as title of a Post. &#60;/p&#62;
&#60;p&#62;Create Post title template&#60;br /&#62;
Insert from Field&#60;br /&#62;
{Website:5}&#60;/p&#62;
&#60;p&#62;In the body of the post i will reuse the URL for linking to the website.&#60;/p&#62;
&#60;p&#62;But now the title and permalink will contain &#60;a href=&#34;http://www&#34; rel=&#34;nofollow&#34;&#62;http://www&#60;/a&#62;.  and httpwww.&#60;br /&#62;
So what i want to do is to strip out the &#60;a href=&#34;http://www&#34; rel=&#34;nofollow&#34;&#62;http://www&#60;/a&#62;. (or only http:// if www is not used) so i can have a clean title and permalink, and I also want to reuse the clean domain link to automatically create a thumbnail of the website. This would also require the &#60;a href=&#34;http://www&#34; rel=&#34;nofollow&#34;&#62;http://www&#60;/a&#62;. to be stripped out.&#60;/p&#62;
&#60;p&#62;Ideally i would have another variable  {Website-stripped}   to re-use in the post body.&#60;/p&#62;
&#60;p&#62;I hope it clarifies your question.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19086</link>
			<pubDate>Mon, 21 Feb 2011 15:05:53 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19086@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;To clarify.  What you want to do is use the Post Title field and on submit you want to automatically strip out &#34;http://&#34; and/or &#34;http://www.&#34; is that correct?&#60;/p&#62;
&#60;p&#62;We may be able to write a code snippet for you that does this as it is fairly simple, but I would need to verify that this is indeed exactly what you want it to do.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fonzzzie on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19081</link>
			<pubDate>Mon, 21 Feb 2011 13:03:53 +0000</pubDate>
			<dc:creator>Fonzzzie</dc:creator>
			<guid isPermaLink="false">19081@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well, honestly i am not comfortable with it at all...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Strip HTTP from field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strip-http-from-field#post-19076</link>
			<pubDate>Mon, 21 Feb 2011 12:46:41 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19076@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This isn't possible as a built in feature.  You would have to use hooks and write custom code to do this.  It is only possible as a customization using available API hooks to manipulate the form data.  How comfortable are you with PHP and WordPress hook/filter usage?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
