sschmitt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I add custom links to images on WP Nivo Slider plugin?It says there is a short code you can add to the custom fields on the posts:
simple_nivo_link
unfortunately I cannot get it to work. Maybe I am doing something wrong?
Hope it helps
Forum: Plugins
In reply to: WooCommerce: remove related products infoTry this plugin:
woocommerce-custom-product-tabs-lite
There is also this code you can put in your themes functions.php file:
I was able to get the .current-menu-item to sort of work. I have the style set as below just for testing purposes. Turns out the only styles that will work are the Text-decoration and background styles. I really want the font color to just stay highlighted.
Any thoughts as to why some styles would work but not others?
.current-menu-item {
color:#F90;
border-bottom:2px solid #fco;
text-decoration:line-through;
background:#black;
}Thx!
s ??Forum: Themes and Templates
In reply to: Custom Post Type Featured Image Archivesorry forgot to close link….
Forum: Themes and Templates
In reply to: Custom Post Type Featured Image ArchiveSomehow my link got messed up here is the link to my page with single category and posts:
https://sandraschmitt.com/cavdesign/blog/project-type/project-kitchen/
Thx!
s ??Forum: Themes and Templates
In reply to: Multiple Custom Sidebars "Best Practice"I just ended up using multiple custom sidebars and I haven’t had a problem.
Forum: Themes and Templates
In reply to: Create Custom Post-type Category Archive PageI ended up using a plugin that has been really helpful. It’s called Custom Taxonomies Menu Widget which basically has custom taxonomies use the archive.php file. Maybe Wp uses archive.php file automatically, I am no expert, but I got it to work and I am trilled! From there I made custom archive.php files co I could customize different categories. Hope this helps ??
Forum: Themes and Templates
In reply to: Custom category archive pageI hope this helps ??
Forum: Themes and Templates
In reply to: Custom category archive pageI actually got it to work. My code above was complicated because of the grid I was trying to use. I simplified my grid and got it to work. The code below will give you an archive page of a custom post type with featured image grid of it’s child post types underneath.
CODE:
<?php get_header(); ?> <div id="main-content"> <h2><?php single_cat_title(); ?></h2> <div id="gridcontainer"> <?php global $query_string; //Need this to make pagination work /*Setting up our custom query (In here we are setting it to show 12 posts per page and eliminate all sticky posts) */ query_posts($query_string . '&caller_get_posts=1&posts_per_page=12'); if(have_posts()) : while(have_posts()) : the_post(); ?> <div class="griditemleft"> <div class="postimage"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail('category-thumbnail'); ?></a> </div> <h2><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> </div><!--griditemleft--> <?php endwhile; //Pagination can go here if you want it. endif; ?> </div><!--gridcontainer--> </div><!--main-content--> <?php get_footer(); ?>
YOU ROCK!!! It’s fixed and all of my original fields I created are still in tact ??
Thank you so much for your speedy reply and fix!!
Sandra ??
This is also happening with me. Everything else seems to be working including the functionality of the plugin. I too am using most current version of WP.
Forum: Themes and Templates
In reply to: Both Homepage and Blog Page direct to static homepageok… I figured out that I had the wrong template and I it is fixed for the blog home. Thank you for your assistence on the homepage file ??
thx!
s ??Forum: Themes and Templates
In reply to: Both Homepage and Blog Page direct to static homepagesorry I couldn’t find the “backticks”
Forum: Themes and Templates
In reply to: Both Homepage and Blog Page direct to static homepageI was able to change the homepage name and that worked for homepage page. But on the Blog page I have it set to default and I know ther are 2 posts in my blog that should show up but it says there are none.
I started with a blank custom theme from a Lynda.com tutorial. I think I can figure out if I knew what page the”default” was. Is it index.php OR is it page.php?
AND
should that file call the “loop”?
<?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-index.php and that will be used instead. */ get_template_part( 'loop', 'index' ); ?>
or should it have something like this:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <?php include (TEMPLATEPATH . '/inc/meta.php' ); ?> <div class="entry"> <?php the_content(); ?> <?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?> </div> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> <?php // comments_template(); ?> <?php endwhile; endif; ?>
Forum: Themes and Templates
In reply to: Both Homepage and Blog Page direct to static homepageyes it does have a home.php. Should I name it something else?