Awesome Filterable Portfolio
[resolved] Embed Portfolio in Page Template (2 posts)

  1. Ian Crasta
    Posted 2 years ago #

    Hey, could you please elaborate on how I can embed the portfolio directly on a template? I have no knowledge of working with PHP.


    I would like to embed it below "Work Much"

    Here is the PHP code for that section/page:

     * Template Name: Template Portfolio
    	<div class="container" id="portfolio">
    		<h2 class="section-title"><?php the_title(); ?></h2>
    		<?php query_posts('post_type=portfolio'); ?>
    		<?php if (have_posts()) : while(have_posts()) : the_post() ?>
    		<div class="row item">
    			<div class="span8">
    				<?php the_post_thumbnail('portfolio'); ?>
    			<div class="span4 border description-text">
    				<h3><?php the_title(); ?></h3>
    				<?php the_content(); ?>
    				<a class="link-portfolio" href="http://<?php echo get_post_meta($post->ID, 'fw_link_portfolio', true);?>">Go to work</a>
    		<?php endwhile; endif; ?>

    Thank you!


  2. BriniA
    Plugin Author

    Posted 2 years ago #

    You can add the following PHP code wherever you want to display the portfolio
    <?php afp_shortcode (); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Awesome Filterable Portfolio
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.