Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: Hiding comments on custom post type

$
0
0

Oops sorry I forgot to attach the code.

<h1>[wpv-post-title] $[types field="price" format="FIELD_VALUE"][/types]<span style="float: right; font-size: 14px;"><a href="/used-bikes/" class="btn btn-primary">Back to all used bikes</a></span></h1>

<div class="row-fluid">

<div class="span6">
<a href="[types field="main-image" output="raw"][/types]">[types field="main-image" size="medium" align="none" resize="proportional" style="margin-bottom: 10px"][/types]</a><div style="clear: both"></div>
[wpv-for-each field="wpcf-additional-images"]
<a href="[types field="additional-images" output="raw"][/types]">[types field="additional-images" size="thumbnail" align="none" resize="crop" separator=" " style="float: left; margin-right: 10px; margin-bottom: 10px; width: 180px; height; 180px;"][/types]</a>[/wpv-for-each]
</div>
<div class="span6">
<h3>Color: [types field="color"][/types]<br />
Mileage: [types field="mileage"][/types]<br />
VIN: [types field="vin"][/types]</h3>
<p>[types field="description"][/types]</p>
<br />[types field="video" width="500px" height="300px"][/types]<br />[types field="youtube" width="570px" height="321px"][/types]
</div>

</div>
[wpv-if evaluate="'[wpv-current-user info="role"]' = 'editor'"]
<div class="row-fluid">

<div class="span12">
<hr />
[cred_link_form form="Edit Used Bike" text="Edit %TITLE%" target="_self" class="btn btn-default"]
[cred_delete_post_link class="cred-refresh-after-delete" text="Delete %TITLE%" action="trash" class="btn btn-default"]
</div>

</div>

[/wpv-if]


Viewing all articles
Browse latest Browse all 20145

Trending Articles