I’ve created a custom post type with Pods for displaying some Hotels.
This CPT got photos. When using Pods item list block, photos are correctly displayed.
I’m trying to display the hotels’ list as a carousel using Smart Slider pro. I create a slider with dynamic content / WP post / hotels CPT. When adding the custom fields : texts are ok but images are blank. In the ouptput code : src=""
in <img />
tag.
What do I miss ?
Thanks.
]]>Im looking for a plugin or hack to display my images. Im not looking for an eCommerce plugin just a way to display my images. I wanted something like this https://www.brixton.com/abram.html Is it an option to use a eCommerce plugin and not use the buy now etc.?
Thanks!
]]>you can see a section called “Flickr Photos”. The photos are actually being pulled from the post (they are all attached to the post) using the code below. Unfortunately, there are some problems.
1) The images are all 330×265 in the actual post (I inserted them full size), but they are not displaying full size like they should.
2) The image at the bottom, which is actually the first image in the post should not be there. I want to exclude the very firts image in the post.
3) The images are being displayed from bottom to top in the order they are in the post….they need to be displayed in the other direction — top to bottom. (In this case, they should be in this order from top to bottom: Logo-2.png, layne-and-kate.png, The-Billboard-Family.png).
Can you guys please help me fix these issues? Thanks!
<?php
$args = array(
'post_type' => 'attachment',
'numberposts' => -1,
'post_status' => null,
'post_parent' => $post->ID
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $attachment) {
the_attachment_link($attachment->ID, false);
}
}
?>
]]>Just to give you an idea of what I’m working with, my site is [deancowart.com]
What I wanted to do initially, was separate the posts into various pages (as you can see along top). I’ve abandoned this idea, as I’ve read the WP way to do this is to seperate your posts into categories. So this is what I’ve started to do, under the category ‘sketches’.
The problem now, is that I when you click on the category ‘sketches’ all you get is a list of the post title’s. This is kinda defeating my purpose, as I’ve intended to create a static homepage, and separate my images for viewing within the categories. Anyone have any suggestions? I’ve tried linking to an absolute path, but to no avail
Any help is greatly appreciated,
-Dean
]]>