sdesigns
Forum Replies Created
-
Forum: Plugins
In reply to: [WP RSS Multi Importer] Custom Post TypesThank you for that
How can I set to a Category within my custom post type. The taxonomy name for it is adirondack_almanac_category The Category I am trying to put it into is Outdoor Recreation
Thank you
Forum: Fixing WordPress
In reply to: Show 1 recent post from 2 custom post typesThank you so I now have the below code wich is showing the corect most recent post from the 2 post typs but how would I set it so that it is showing from a specific catigory in each of the post typs say outdoor-recreation.
<?php $recentPosts = new WP_Query(array('showposts' => 1, 'post_type' => array('outtakes','adirondack_almanac'))); while( $recentPosts->have_posts() ) : $recentPosts->the_post();?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php if ( has_post_thumbnail()): the_post_thumbnail( 'feed-fixed' ); endif; ?></a> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> <?php echo wp_trim_words( get_the_excerpt(), 20 ); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">>>More</a> <?php endwhile; ?>
Thank you for your help
Forum: Plugins
In reply to: [WP RSS Multi Importer] Custom Post TypesSorry what I was meaning is to have it set to a Category within my custom post type. The taxonomy name for it is adirondack_almanac_category The Category I am trying to put it into is Outdoor Recreation
Also I got the custom post type working with your screencast thank you but when I inported the posts it seams to be using the inport time and date not the post dat and time. Any idea of what would make this happin. They were fine when going into the regular post type.
Thank you once agin
Forum: Plugins
In reply to: [WP RSS Multi Importer] Custom Post TypesThank you is there a way that I can also set it to a category within my custom post type
Thank you for your help
Forum: Plugins
In reply to: [WP RSS Multi Importer] Custom Post TypesI am using Feed to Post and would love to know what to change in the file so I can have it save the posts to a Custom post type insted of my regular posts.
Thank you for your help
Forum: Plugins
In reply to: [WP RSS Multi Importer] Feed showing twiceThank you for the responce. It turnd out I had an include int the page templet that was making this happen.
Forum: Plugins
In reply to: [WP RSS Multi Importer] Feed showing twiceThank you for your responce but I am having this problem for non feed to post’s. The feed I am pulling from is https://www.adirondackalmanack.com/category/outdoor-recreation/feed which is one of our sites. The page that I have set up that I am having the ishue on is https://198.154.217.212/~adkadmin/outdoor-recreation the first set is posts from the short code I have in on the page then the second is a repeat of the first but using the templet that is set in the admin.
Hope this helps
Thank you
If anyone has any idea of how you would do this I would appreciate it.
I realy like this plugin and would like to use it for this as wellThank you
Forum: Fixing WordPress
In reply to: Recent Post With Excerpt Then Display TitlesI got it working below is the code I used.
‘ <?php $recent = new WP_Query(‘post_type=outtakes&posts_per_page=3’ ); ?>
<?php $count = 0; ?>
<?php while( $recent->have_posts() ) : $recent->the_post(); ?>
<?php $count++; ?>
<?php if ($count < 2) : ?>
<?php the_post_thumbnail(‘medium’) ?>
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
<?php echo wp_trim_words( get_the_excerpt(), 20 ); ?>
” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>>>More
<?php else : ?>- <h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
<?php endif; ?>
<?php endwhile; ?>’Forum: Fixing WordPress
In reply to: format first recent custom post differentlySo far the code that seams to work the best is the one I was using at first but by two issues I am having with it still is that the image is not permalink so I can’t click on it and the Title is not above the excerpt it is below it and if I put it above the excert that title still shows in the bullet list.
Any help on this would be appreseated.Thank you
/<?php $recent = new WP_Query(‘post_type=outtakes&posts_per_page=3’ ); ?>
<?php $is_first_post = true; ?><?php while( $recent->have_posts() ) : $recent->the_post(); ?>
<?php
if ( $is_first_post && has_post_thumbnail() ) {
the_post_thumbnail(‘medium’); echo excerpt(25);$is_first_post = false;
}
?>- <h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
<?php endwhile; ?>/
Forum: Fixing WordPress
In reply to: format first recent custom post differentlyI also found another code that is almost working but this one is not removing the excerpt from the rest of the items.
/
<?php $c = 0; $blog_query = new WP_Query(‘post_type=outtakes&posts_per_page=5’);
while ($blog_query->have_posts()) : $blog_query->the_post();?><div <?php if( $c ==0 ) post_class(‘special’); else post_class() ?> id=”post-<?php the_ID(); ?>”>
<?php if ( has_post_thumbnail()) : ?>
” title=”<?php the_title_attribute(); ?>” >
<?php the_post_thumbnail(‘medium’); ?>
<?php endif; ?>
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3><?php the_excerpt() ?>
</div><!–post–>
<?php $c++;?>
<?php endwhile; ?>
/Forum: Fixing WordPress
In reply to: format first recent custom post differentlyGetting closer. It is showing the first image and excerpt but the title is not clickable and their is now More>> at the end of the excerpt.
The rest ot the titles are coming in but they are right next to each other not an unordered list and are not clickable.
Thank you for you help.
/
<?php$recent = new WP_Query( ‘post_type=outtakes&posts_per_page=5’ );
while ( $recent->have_posts() ) : $recent->the_post();
if ( $recent->current_post == 0 ) {
if ( has_post_thumbnail() ) {
the_post_thumbnail( ‘medium’ );
}
echo the_title(); echo excerpt( 25 );
} else {
echo the_title();}
endwhile;?>/
Forum: Fixing WordPress
In reply to: format first recent custom post differentlyI used the below code and now I get an error
Fatal error: Call to undefined function is_first_post() in /home/XXXXXX/public_html/wp-content/themes/XXXXXX/myhomepage.php on line 46
Thank you
/<?php
$recent = new WP_Query(‘post_type=outtakes&posts_per_page=5’ );
while( $recent->have_posts() ) : $recent->the_post();
if ( is_first_post() && has_post_thumbnail() ) {
the_post_thumbnail(‘medium’); echo excerpt(25);
} else {
the_title();
}
endwhile;?>/
[please read and apply the forum guidelines for posting code – https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]
Forum: Fixing WordPress
In reply to: format first recent custom post differentlyI just tried that and it just gives me the first post excerpt with no image, title and no link to read more. It also is not putting out the other 4 items.
Thank you
Any idea of were or how you can convert a file that the blogger2wordpress.appspot.com site says
Error: Request Entity Too Large
Your client issued a request that was too large.Thank you