<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Creating a PDF Gallery/Portfolio &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/feed/</link>
		<description></description>
		<lastBuildDate>Wed, 15 Oct 2025 12:13:30 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-36103</guid>
					<title><![CDATA[Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-36103</link>
					<pubDate>Tue, 22 Apr 2014 22:43:43 +0000</pubDate>
					<dc:creator>Pavel M</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, I just recently purchased your theme and so far so good.</p>
<p>I will be uploading reading material for my users and I want to create a PDF gallery/portfolio where the users will see a thumbnail of the document and are able to click on it. My question is what would be the best way to achieve this?</p>
<p>Should I set a custom link directly to the PDF file on the feature image as per <a href="http://wordpress.org/support/topic/set-a-custom-link-for-featured-images" rel="nofollow">http://wordpress.org/support/topic/set-a-custom-link-for-featured-images</a> and let the browser handle the PDF</p>
<p>Or Install a document viewer plug in such as <a href="http://wordpress.org/plugins/simple-google-docs-viewer/" rel="nofollow">http://wordpress.org/plugins/simple-google-docs-viewer/</a> and load the document inside the page that opens. If so, then remove the feature image from inside the post as per the many instruction on this forum</p>
<p>Or another more efficient method? I&#8217;d like to keep the number of files I upload to minimum and to make it a smooth experience for the user.</p>
<p>Thank you!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-36329</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-36329</link>
					<pubDate>Wed, 23 Apr 2014 16:59:59 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Pavel,</p>
<p>Either option would depend on the experience you want to provide to your user. Once you decide which user experience you want (embedded, or direct link) you can try implementing it.</p>
<p>Another option would be to add a download button on the portfolio item page: <a href="http://theme.co/x/demo/integrity/1/shortcodes/buttons/" rel="nofollow">http://theme.co/x/demo/integrity/1/shortcodes/buttons/</a></p>
<p>You could give the button a link to your PDF file.</p>
<p>If you want to simply send the user directly to the file after clicking an item, there&#8217;s a modification discussed on this page that might help you : <a href="http://theme.co/x/member/forums/topic/directing-an-item-in-portfolio-to-a-page/" rel="nofollow">http://theme.co/x/member/forums/topic/directing-an-item-in-portfolio-to-a-page/</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-38677</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-38677</link>
					<pubDate>Tue, 29 Apr 2014 22:55:05 +0000</pubDate>
					<dc:creator>Pavel M</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the tips. I tried the second solution. </p>
<pre><code>add_filter( &#039;post_type_link&#039;, &#039;x_remap_portfolio_to_page&#039;, 10, 4);
function x_remap_portfolio_to_page($post_link, $post, $leavename, $sample) {

    if (&#039;x-portfolio&#039; == $post-&gt;post_type) {
        $custom = get_post_custom($post-&gt;id);

        if (isset($custom[&#039;x_custom_link&#039;]) &amp;&amp; $custom[&#039;x_custom_link&#039;][0]!=&#039;&#039;)
            return $custom[&#039;x_custom_link&#039;][0];
    }

    return $post_link;
}</code></pre>
<p>Is there a way to open the link in a new tab/page instead?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-39035</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-39035</link>
					<pubDate>Wed, 30 Apr 2014 21:12:27 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Pavel,</p>
<p>To open in a new tab, it would be better to just add this via Javascript instead of altering the template code. You can place this under <strong>Customizer &gt; Custom &gt; Javascript</strong></p>
<p><code>jQuery(function($){ $(&#039;.x-portfolio .entry-title-portfolio a&#039;).attr(&#039;target&#039;,&#039;_blank&#039;); });</code></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-39831</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-39831</link>
					<pubDate>Fri, 02 May 2014 18:09:50 +0000</pubDate>
					<dc:creator>Pavel M</dc:creator>

					<description>
						<![CDATA[
						<p>This worked in the portfolio view; however, it doesn&#8217;t work for the featured post section of the home page. Additionally I made a modification to allow a new tab when the featured image is clicked.</p>
<p>jQuery(function($){ $(&#8216;.x-portfolio .entry-title-portfolio a&#8217;).attr(&#8216;target&#8217;,&#8217;_blank&#8217;); });<br />
jQuery(function($){ $(&#8216;.x-portfolio .entry-featured a&#8217;).attr(&#8216;target&#8217;,&#8217;_blank&#8217;); });</p>
<p>Is there a better way of combining the two to accomplish the action I desire, or is it okay to have two separate scripts?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-40015</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-40015</link>
					<pubDate>Sat, 03 May 2014 01:47:11 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Pavel,</p>
<p>Glad it worked!</p>
<p>Yes, you could combine them and much cleaner.</p>
<pre><code>jQuery(function($){ $(&#039;.x-portfolio .entry-title-portfolio a, .x-portfolio .entry-featured a&#039;).attr(‘target’,’_blank’); });
</code></pre>
<p>Thank you!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-194908</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-194908</link>
					<pubDate>Fri, 30 Jan 2015 05:26:08 +0000</pubDate>
					<dc:creator>lagresa</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, I would like to add a pdf to my homepage, but I don&#8217;t want it open in a new tab or window or direct the user to another page. I&#8217;m interested in putting a thumbnail of the pdf which, when clicked, opens up a lightbox displaying the multi-page pdf. </p>
<p>I&#8217;ve read that lightbox doesn&#8217;t support pdfs, so I tried a roundabout way of doing so by uploading each page of the pdf as png files in hopes of creating a gallery with lightbox, however, I realized that it won&#8217;t work since I need to insert every image on the page to make a lightbox gallery and I only want to show my visitors the thumbnail.</p>
<p>I&#8217;m using Renew 3 (#2), and I&#8217;m interested in placing a small sample of my portfolio in the services section of the page as displayed in the demo (local, digital, relational, etc). Your help is much appreciated. Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-195647</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-195647</link>
					<pubDate>Fri, 30 Jan 2015 23:27:43 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-655892</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-655892</link>
					<pubDate>Sat, 07 Nov 2015 04:17:03 +0000</pubDate>
					<dc:creator>moodymedialabagency</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-655947</guid>
					<title><![CDATA[Reply To: Creating a PDF Gallery/Portfolio]]></title>
					<link>https://theme.co/archive/forums/topic/creating-a-pdf-galleryportfolio/#post-655947</link>
					<pubDate>Sat, 07 Nov 2015 06:31:33 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hello <a href="https://theme.co/archive/users/moodymedialabagency/" class="bbp-user-mention bbp-user-id-54373"> @MoodyMedialabAgency</a>,</p>
<p>Thanks for updating this thread! At this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

