Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1085947
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the details. It appears that you have inserted an invalid code. The contents of your php file is this:

    {\rtf1\ansi\ansicpg1252\cocoartf1348\cocoasubrtf170
    {\fonttbl\f0\fnil\fcharset0 Monaco;}
    {\colortbl;\red255\green255\blue255;\red83\green85\blue2;\red249\green249\blue249;\red52\green52\blue52;
    \red16\green121\blue2;\red11\green84\blue83;\red0\green0\blue117;}
    \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
    \deftab720
    \pard\pardeftab720\sl480
    \f0\fs24 \cf2 \cb3 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php\
    \
    // =============================================================================\
    // VIEWS/GLOBAL/_PORTFOLIO.PHP\
    // -----------------------------------------------------------------------------\
    // Includes the portfolio output.\
    // =============================================================================\
    \
    $stack    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  x_get_stack\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    $entry_id \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_the_ID\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    $paged    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  is_front_page\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ()\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_query_var\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'page'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_query_var\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'paged'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_query_var\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'paged'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf6 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec6 1\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    $cols     \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_post_meta\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $entry_id\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 '_x_portfolio_columns'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 true\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    $count    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_post_meta\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $entry_id\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 '_x_portfolio_posts_per_page'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 true\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    $filters  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  get_post_meta\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $entry_id\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 '_x_portfolio_category_filters'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 true\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \pard\pardeftab720\sl480
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 switch\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $cols \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 \{\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 case\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'One'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $cols \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf6 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec6 1\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 break\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 case\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'Two'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $cols \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf6 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec6 2\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 break\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 case\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'Three'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $cols \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf6 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec6 3\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 break\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 case\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'Four'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4   \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $cols \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf6 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec6 4\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 break\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \pard\pardeftab720\sl480
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 \}\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 while\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  have_posts\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ()\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  the_post\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php x_get_view\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'integrity'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'content'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'page'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php x_get_view\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'global'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 '_comments-template'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php endwhile\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php wp_reset_query\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php x_get_view\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'global'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 '_script'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'isotope-portfolio'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    <div id="x-iso-container" class="x-iso-container x-iso-container-portfolio cols-\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php echo $cols\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 ">\
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php\
    \
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 if\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  count\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $filters \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ==\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf6 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec6 1\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 &&\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  in_array\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'All Categories'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $filters \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 \{\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    $args \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  array\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'post_type'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4       \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'x-portfolio'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'posts_per_page'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $count\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'paged'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4           \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $paged\
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 \}\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 else\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 \{\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    $args \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  array\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'post_type'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4       \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'x-portfolio'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'posts_per_page'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $count\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'paged'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4           \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $paged\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'tax_query'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4       \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  array\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    array\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'taxonomy'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'portfolio-category'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'field'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4     \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'term_id'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'terms'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4     \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $filters\
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 \}\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    $wp_query \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 =\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 new\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  WP_Query\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $args \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 if\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $wp_query\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ->\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 have_posts\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ()\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 while\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $wp_query\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ->\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 have_posts\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ()\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $wp_query\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ->\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 the_post\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 if\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $stack \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 !=\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'ethos'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 )\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php x_get_view\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  $stack\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'content'\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ,\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'portfolio'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 else\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 :\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php x_ethos_entry_cover\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 (\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf5 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec5 'main-content'\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 );\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php endif\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php endwhile\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php endif\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ;\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \pard\pardeftab720\sl480
    \cf7 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec7 </div>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \
    \pard\pardeftab720\sl480
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php pagenavi\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 \
    \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 <?\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4 php wp_reset_query\cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ();\cf4 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec4  \cf2 \expnd0\expndtw0\kerning0
    \outl0\strokewidth0 \strokec2 ?>}

    I went ahead and already fixed the error. Right now, it displays the contents of your portfolio page and all your portfolio items after the content. Please check it and let me know how it goes.

    #1089388
    sininvierno
    Participant

    Great! I’ll start uploading the content and I’ll let you know if I need anything else

    Thanks a lot

    #1089430
    John Ezra
    Member

    You’re most welcome!

    #1098215
    sininvierno
    Participant

    Hello

    I’ve started outlining the content and it’s coming along pretty well. Thanks.
    However, I would like to be able to make some minor adjustments.
    Right now, the portfolio-layout page is showing the portfolio filter before my introduction text (and with a rather large gap after it), and the portfolio items themselves after the text. I would like to be able to have the filter and the items be displayed together, either Below or Above the text. Also, I would like to change the “All” text in the button to: “Todos”
    Is it possible to have the categories displayed upon loading instead of having to click on the filter button first?

    Thanks you!

    Muriel

    #1098258
    Rue Nel
    Moderator

    Hello Muriel,

    Thanks for updating this thread! To do all your changes, please follow the following:

    1] Change the All text to Todos, please insert this following code in your child theme’s functions.php file.

    // Change All to Todos
    // =============================================================================
    function change_filter_text($translated) { 
    $translated = str_ireplace('All', 'Todos', $translated);
    return $translated; 
    }
    add_filter('gettext', 'change_filter_text' );
    // =============================================================================

    2] To move the position of the filter, you must edit the _portfolio.php and update the code. You can make use of this code:

    <?php
    // =============================================================================
    // VIEWS/GLOBAL/_PORTFOLIO.PHP
    // -----------------------------------------------------------------------------
    // Includes the portfolio output.
    // =============================================================================
    $stack    = x_get_stack();
    $entry_id = get_the_ID();
    $paged    = ( is_front_page() ) ? get_query_var( 'page' ) : ( ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1 );
    $cols     = get_post_meta( $entry_id, '_x_portfolio_columns', true );
    $count    = get_post_meta( $entry_id, '_x_portfolio_posts_per_page', true );
    $filters  = get_post_meta( $entry_id, '_x_portfolio_category_filters', true );
    switch ( $cols ) {
    case 'One'   : $cols = 1; break;
    case 'Two'   : $cols = 2; break;
    case 'Three' : $cols = 3; break;
    case 'Four'  : $cols = 4; break;
    }
    ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php x_get_view( 'global', '_content' ); ?>
    <?php x_get_view( 'global', '_comments-template' ); ?>
    <?php endwhile; ?>
    <?php wp_reset_query(); ?>
    <div class="x-container max width mbl" style="text-align: center;">
    <?php x_portfolio_filters(); ?>
    </div>
    <?php x_get_view( 'global', '_script', 'isotope-portfolio' ); ?>
    <div id="x-iso-container" class="x-iso-container x-iso-container-portfolio cols-<?php echo $cols; ?>">
    <?php
    if ( count( $filters ) == 1 && in_array( 'All Categories', $filters ) ) {
    $args = array(
    'post_type'      => 'x-portfolio',
    'posts_per_page' => $count,
    'paged'          => $paged
    );
    } else {
    $args = array(
    'post_type'      => 'x-portfolio',
    'posts_per_page' => $count,
    'paged'          => $paged,
    'tax_query'      => array(
    array(
    'taxonomy' => 'portfolio-category',
    'field'    => 'term_id',
    'terms'    => $filters
    )
    )
    );
    }
    $wp_query = new WP_Query( $args );
    ?>
    <?php if ( $wp_query->have_posts() ) : ?>
    <?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
    <?php if ( $stack != 'ethos' ) : ?>
    <?php x_get_view( $stack, 'content', 'portfolio' ); ?>
    <?php else : ?>
    <?php x_ethos_entry_cover( 'main-content' ); ?>
    <?php endif; ?>
    <?php endwhile; ?>
    <?php endif; ?>
    </div>
    <?php pagenavi(); ?>
    <?php wp_reset_query(); ?>

    And then you also need to override the `_landmark-header.php file and make use of this code:

    <?php
    // =============================================================================
    // VIEWS/INTEGRITY/_LANDMARK-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Handles content output of large headers for key pages such as the blog or
    // search results.
    // =============================================================================
    $disable_page_title = get_post_meta( get_the_ID(), '_x_entry_disable_page_title', true );
    $disable_filters    = get_post_meta( get_the_ID(), '_x_portfolio_disable_filtering', true );
    ?>
    <?php if ( is_home() && x_get_option( 'x_integrity_blog_header_enable' ) == '1' ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_blog_title' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_blog_subtitle' ); ?></span></p>
    </header>
    <?php elseif ( is_search() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Search Results', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll see everything we could locate for your search of ", '__x__' ); echo '<strong>&ldquo;'; the_search_query(); echo '&rdquo;</strong>'; ?></span></p>
    </header>
    <?php elseif ( is_category() || x_is_portfolio_category() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Category Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all posts that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle ?></span></p>
    </header>
    <?php elseif ( x_is_product_category() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Category Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle ?></span></p>
    </header>
    <?php elseif ( is_tag() || x_is_portfolio_tag() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Tag Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all posts that have been tagged as ", '__x__' ) . '<strong>&ldquo;' . single_tag_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle; ?></span></p>
    </header>
    <?php elseif ( x_is_product_tag() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Tag Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been tagged as ", '__x__' ) . '<strong>&ldquo;' . single_tag_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle; ?></span></p>
    </header>
    <?php elseif ( is_404() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Oops!', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "You blew up the Internet. ", '__x__' ); ?></span></p>
    </header>
    <?php elseif ( is_year() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Post Archive by Year', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll find a list of all posts from ", '__x__' ); echo '<strong>'; echo get_the_date( 'Y' ); echo '</strong>'; ?></span></p>
    </header>
    <?php elseif ( is_month() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Post Archive by Month', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll find a list of all posts from ", '__x__' ); echo '<strong>'; echo get_the_date( 'F, Y' ); echo '</strong>'; ?></span></p>
    </header>
    <?php elseif ( is_day() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Post Archive by Day', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll find a list of all posts from ", '__x__' ); echo '<strong>'; echo get_the_date( 'F j, Y' ); echo '</strong>'; ?></span></p>
    </header>
    <?php elseif ( x_is_portfolio() ) : ?>
    <?php if ( $disable_page_title != 'on' || $disable_filters != 'on' ) : ?>
    <header class="x-header-landmark x-container max width">
    <?php if ( $disable_page_title != 'on' ) : ?>
    <h1 class="h-landmark"><span><?php the_title(); ?></span></h1>
    <?php endif; ?>
    <?php //x_portfolio_filters(); ?>
    </header>
    <?php endif; ?>
    <?php elseif ( x_is_shop() && x_get_option( 'x_integrity_shop_header_enable' ) == '1' ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_shop_title' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_shop_subtitle' ); ?></span></p>
    </header>
    <?php elseif ( x_is_buddypress() ) : ?>
    <?php if ( x_buddypress_is_component_with_landmark_header() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo x_buddypress_get_the_title(); ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo x_buddypress_get_the_subtitle(); ?></span></p>
    </header>
    <?php endif; ?>
    <?php endif; ?>

    You do not need to worry about change anything. I already have fixed this issue. I would suggest that you please check your page if this is correct.

    Please let me know how it goes.

    #1098903
    sininvierno
    Participant

    This is great.
    Would it be too much to ask to have the portfolio items + the filter above the text?
    Sorry. You could also teach me how to do it so I don’t bother you again in the future 😉
    thank you so much

    #1099417
    Rad
    Moderator

    Hi there,

    You can move this block of code,

    <?php while ( have_posts() ) : the_post(); ?>
    <?php x_get_view( 'global', '_content' ); ?>
    <?php x_get_view( 'global', '_comments-template' ); ?>
    <?php endwhile; ?>
    

    Under this code

    <?php pagenavi(); ?>
    <?php wp_reset_query(); ?>

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1044628 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>