kmaier
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: pull child pages of a specific parent to say the home pagefigured out a way incase any one needs it.
exchange above query_posts with this and change your parent #
<?php query_posts(“post_type=page&post_parent=245&showposts=3&order=asc”); ?>Forum: Fixing WordPress
In reply to: Permalink with certain word not displaying page correctlyi changed the image title in the actual media gallery and it seems to be working! seems to be odd though
Forum: Fixing WordPress
In reply to: Permalink with certain word not displaying page correctlyCapabilities is the landing page, it does have content.
i do have this setup with the menu, it seems there is something else going on not to accept the word “hospitality”, even if I remove it from under capabilities it still displays incorrectly.
Forum: Fixing WordPress
In reply to: Permalink with certain word not displaying page correctlyIt’s not in the trash, that’s what is so strange.
It would be a child page of Capabilities.
using a custom structure, that works well for all the others.
/%category%/%postname%/Forum: Plugins
In reply to: [OptionTree] OptionTree parse erroryes, it was a version problem. i had to switch to PHP5 with my hosting provider.
Forum: Plugins
In reply to: Anyone having problems with Cforms II suddenly not working?i had to modify this file in the js folder “cforms.js.” It had the old URL in there and i also deactivated the cforms plugin, reactivated and things seem to be working great now!
Forum: Networking WordPress
In reply to: Comment notificationsdgilmour, thanks!
just setup an admin email and have that forwarding to two addresses. seems so obvious…
Forum: Networking WordPress
In reply to: Comment notificationsi did notice that but is there a way to send them to another email too?
Forum: Fixing WordPress
In reply to: Paginationgot it. how do i get the nav to pull in for the other article posts?
<ul id="news"> <?php $temp_query = $wp_query; ?> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('category_name=hot off the plate&posts_per_page=4&paged=' .$paged); ?> <?php while (have_posts()) : the_post(); ?> <li> <div class="post" id="post-<?php the_ID(); ?>"> <?php $pdfLink = get_post_meta($post->ID, 'pdf_link', true); if ( !empty($pdfLink) ) echo '' ?> <div class="pdf_download"> <a href="<?php echo $pdfLink ?>" target="_blank"><img src="/wp-content/themes/blau/style/images/pdf_bttn.gif" width="41" height="37" alt="" /></a> </div> <div class="thmb"> <?php the_post_thumbnail(); ?> </div> <?php the_title('<h4>', '</h4>'); ?> <p><strong> - </strong></p> <p><strong><?php the_time('F jS, Y') ?>, </strong></p> <?php the_excerpt(); ?> </div> </li> <?php endwhile; ?> </ul>
Forum: Fixing WordPress
In reply to: Paginationha whoa, it just seems to repeat the latest article over and over with each snippet. https://dev.elizabethblau.com/in-the-news/hot-off-the-plate/
Forum: Fixing WordPress
In reply to: Paginationyes, you are right it pulls from the slug.
i tried that code but i get an error: Parse error: syntax error, unexpected T_VARIABLE in /nfs/c07/h04/mnt/106463/domains/dev.elizabethblau.com/html/wp-content/themes/blau/page-hot-off-the-plate.php on line 58
Forum: Fixing WordPress
In reply to: IIS Permalinksaw that too. i must need the url rewrite module for it to work.
Forum: Fixing WordPress
In reply to: pull just an image from the_contenti ended up using this: <!–more–>
https://codex.www.ads-software.com/Template_Tags/the_contentbut thinking your way may be a better way to go
Forum: Fixing WordPress
In reply to: pull just an image from the_contentinteresting. giving it a shot but it isn’t coming through.
<?php $temp_query = $wp_query; ?> <?php query_posts("category_name='specials'&showposts="); ?> <?php while (have_posts()) : the_post(); ?> <li> <div class="post" id="post-<?php the_ID(); ?>"> <?php echo get_the_post_thumbnail($page->ID, 'thumbnail'); ?> <?php the_title('<h3>', '</h3>'); ?> <?php global $more; // Declare global $more (before the loop). $more = 0; // Set (inside the loop) to display content above the more tag. the_content("Read More..."); ?> </div> </li> <?php endwhile; ?>
Forum: Fixing WordPress
In reply to: modify body_class() output to show category-{slug} for single postsdoes this work with 3.0? i can not get the name of the category to pull in to the body class.
Tired the plugin but got errors..would prefer not to use one anyway.