Title: double_dd's Replies | WordPress.org

---

# double_dd

  [  ](https://wordpress.org/support/users/double_dd/)

 *   [Profile](https://wordpress.org/support/users/double_dd/)
 *   [Topics Started](https://wordpress.org/support/users/double_dd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/double_dd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/double_dd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/double_dd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/double_dd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/double_dd/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Create Function – Multiple IFs return custom fields](https://wordpress.org/support/topic/create-function-multiple-ifs-return-custom-fields/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/create-function-multiple-ifs-return-custom-fields/#post-10699412)
 * Thanks Safeer that works perfectly.
 * Who knew it would be something so small!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Create Function – Multiple IFs return custom fields](https://wordpress.org/support/topic/create-function-multiple-ifs-return-custom-fields/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/create-function-multiple-ifs-return-custom-fields/#post-10699300)
 * > So if all the conditions are true, you want to output 3 links?
 * Yep this is exactly what I want.
 * I’m a little confused what do you mean I need to concatenate for the last statement?
 * Could you copy my original code and edit to show what you mean?
 * Thanks!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Create Function – Multiple IFs return custom fields](https://wordpress.org/support/topic/create-function-multiple-ifs-return-custom-fields/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/create-function-multiple-ifs-return-custom-fields/#post-10699015)
 * Else ifs don’t enable me to show all the if statements that are true though? 
   I shouldn’t have to run through every combination of the 3 pairs having data 
   or not to generate the function surely.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get the post thumbnail sizing](https://wordpress.org/support/topic/get-the-post-thumbnail-sizing/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-the-post-thumbnail-sizing/#post-7029010)
 * UPDATE
 * It looks as though you can’t crop on the fly (or at least I couldn’t make this
   work).
 * So my code in my functions.php file is as follows:
 *     ```
       add_theme_support( 'post-thumbnails' )//this adds thumbnail support;
       add_image_size( 'prevnextimage', 400, 300, true );//this adds a new image size
       ```
   
 * In my single.php file the code is as follows:
 *     ```
       <?php $prevPost = get_previous_post('true');
       $prevthumbnail = get_the_post_thumbnail($prevPost->ID, 'prevnextimage'); ?>
       ```
   
 * I had to then use the regenerate thumbnail plugin here: [https://wordpress.org/plugins/regenerate-thumbnails/](https://wordpress.org/plugins/regenerate-thumbnails/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Base Knowledge Theme Base Child CSS](https://wordpress.org/support/topic/theme-base-knowledge-base-child-css/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/theme-base-knowledge-base-child-css/#post-3973836)
 * Now resolved:
 * Instead of this:
 * `wp_enqueue_style( 'main-style', get_template_directory_uri(). '/style.css', 
   false, '1.4', 'all');`
 * use this:
 * `wp_enqueue_style( 'main-style', get_stylesheet_directory_uri(). '/style.css',
   false, '1.4', 'all');`
 * This then picks up the child theme instead of using the parent theme in the link
   to the stylesheet.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Template] WP Courseware Post Template](https://wordpress.org/support/topic/wp-courseware-post-template/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wp-courseware-post-template/#post-3540861)
 * I used a child functions.php file to load the plugin into the custom post type
   page using the directions on the plugion more info page
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp list pages with permalinks](https://wordpress.org/support/topic/wp-list-pages-with-permalinks/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/wp-list-pages-with-permalinks/#post-1845533)
 * I was just about to re-post. Thanks for you help you’ve been great.
 * I’ve replaced that mass of code with `<?php wp_list_pages('child_of=16'); ?>`
 * simple really now I get it ha
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp list pages with permalinks](https://wordpress.org/support/topic/wp-list-pages-with-permalinks/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/wp-list-pages-with-permalinks/#post-1845528)
 * EDIT – Thanks for the pointer. I’ve installed one of the plugins and I’m halfway
   there. I just need to get rid of the parent page from the list. Any ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp list pages with permalinks](https://wordpress.org/support/topic/wp-list-pages-with-permalinks/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/wp-list-pages-with-permalinks/#post-1845524)
 * Thanks for the quick response. I’m not sure where you’re pointing me to. One 
   of the plugins as the other options don’t work?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] [Plugin: Portfolio Slideshow] Images work but nav doesn't](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/#post-1792989)
 * Cool that’s all sorted!
 * Now, one last question (sorry for all this ha).
 * I’m really struggling to style the slideshow. I would like the whole slideshow
   centered on my page but currently it is aligned left. When I look in the CSS 
   it says it’s inactive. I would also like to change the blue border to another
   colour and can’t find that either.
 * I’m struggling a bit!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] [Plugin: Portfolio Slideshow] Images work but nav doesn't](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/#post-1792981)
 * My menu is a suckerfish menu with drop down. When I scroll over it the drop down
   goes behind the slideshow instead of on top of it. Is there a way to fix this?
   z-index on the slideshow div maybe?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] [Plugin: Portfolio Slideshow] Images work but nav doesn't](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/#post-1792980)
 * thanks for your help – it’s all sorted! Now I’m going to try and style this bad
   boy!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] [Plugin: Portfolio Slideshow] Images work but nav doesn't](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-portfolio-slideshow-images-work-but-nav-doesnt/#post-1792974)
 * I know that jquery.cycle.all.min.js isn’t being loaded so what I’ve done is put
   it in the footer.php as <?php jquery.cycle.all.min.js ?> is this correct?
 * Still doesn’t want to seem to work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Widget Sidebar Trouble](https://wordpress.org/support/topic/widget-sidebar-trouble/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/#post-1789289)
 * That was it – Thanks very much alchymyth
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Widget Sidebar Trouble](https://wordpress.org/support/topic/widget-sidebar-trouble/)
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/#post-1789285)
 * ahh I’ll try it now thanks

Viewing 15 replies - 1 through 15 (of 15 total)