Title: alingham's Replies | WordPress.org

---

# alingham

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cloudinary - Deliver Images and Videos at Scale] Plugin pushing images back to WP](https://wordpress.org/support/topic/plugin-pushing-images-back-to-wp/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [6 years ago](https://wordpress.org/support/topic/plugin-pushing-images-back-to-wp/#post-12664528)
 * I’ve had exactly the same issue. Which is a croc.
    Why would I want my images
   on both my WP site and on Cloudinary? I took them off WP to put on Cloudinary
   because I began running out of space. There is no point in having them in both.
   If I’m going to be forced into having them in my WP, then I may as well ditch
   Cloudinary. Right!?
 * Let users turn OFF the auto sync and then you’ve got yourself a working plugin.
   Until then, useless and pointless.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Customizer – How to refresh a variable in For Loop](https://wordpress.org/support/topic/customizer-how-to-refresh-a-variable-in-for-loop/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/customizer-how-to-refresh-a-variable-in-for-loop/#post-11132583)
 * I’ve had a look, but no idea what I’m actually looking for.
    None of it makes
   sense or even looks close to anything I need.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Product Shortcode makes Stepped Image list of Product](https://wordpress.org/support/topic/product-shortcode-makes-stepped-image-list-of-product/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/product-shortcode-makes-stepped-image-list-of-product/#post-9853117)
 * Oh my gosh. I feel so stupid.
    A whole BUNCH of
 *     ```
        tags all around the shortcode.
       That'd do it!
   
       Thanks Lorro!
       ```
   
    -  This reply was modified 8 years, 4 months ago by [alingham](https://wordpress.org/support/users/alingham/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Verbo] style.css changes overrode](https://wordpress.org/support/topic/stylecss-changes-overrode/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stylecss-changes-overrode/#post-6593047)
 * Sure can.
 * I’ve used Chrome to Inspect the element and taken the “overriding” css straight
   from it and put it in the child theme style.css
 * It looks like it gets overridden by the code found in verbo/media/css/
 * The code that made me aware of this was when I tried to get the footer coloured
   right in a school website. [http://www.arakura.school.nz](http://www.arakura.school.nz)
 * The code I had added to the child theme style.css is as follows:
 *     ```
       footer aside{
           background:none;
           padding: 60px 0px 20px 0px;
           border-top: 1px solid #e4e4e4;
       }
       ```
   
 * The reason behind wanting background:none, is because I’ve attached a background
   image to the “footer” tag, but this is then blocked out by footer aside.
    The
   background for footer aside is for some reason defined within the index file 
   itself when the theme calls wp_footer(). Not sure why this is (and if you have
   a fix for this, or know what calls this, I’m all ears – though for now I’m more
   than happy just putting an !important on my style.css file).
 * But what brought the overriding stylesheets to my attention was when I tried 
   to change the border-top colour. As you can see, I’ve tried to make it #e4e4e4,
   but when I inspect the element, footer.css has overidden it with the default #
   f2f2f2.
 * I have tried creating a media/css/footer.css file inside the child theme, with
   no avail. It still fetches the styles for footer.css from the parent theme ‘verbo’.
 * Hopefully all of this makes sense.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Verbo] style.css changes overrode](https://wordpress.org/support/topic/stylecss-changes-overrode/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stylecss-changes-overrode/#post-6593045)
 * BUMP
    Having the same issue….
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorMag] Slider Moves All Elements and Displays Images Weird](https://wordpress.org/support/topic/slider-moves-all-elements-and-displays-images-weird/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/slider-moves-all-elements-and-displays-images-weird/#post-6272554)
 * I’ve found out a little work around for my site.
    An easier way is to hack the
   CSS a bit.
 * Use the Theme Customizer
    **Appearance -> Customize**
 * Click on **Design Options -> Custom CSS**
 * Add in the following code:
 *     ```
       .bx-wrapper {
           height:350px;
           overflow-y:hidden;
       }
       .slide-content {
           top:210px;
       }
       ```
   
 * This should stop the slider adjusting its height for each image it comes across.
   Its the adaptiveHeight: true; in the javascript that causes it. This CSS should
   fix that.
 * Enjoy!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorMag] Featured Image Resizing](https://wordpress.org/support/topic/featured-image-resizing-4/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/featured-image-resizing-4/#post-6190263)
 * Actually. An easier way is to hack the CSS a bit.
 * Use the Theme Customizer
    **Appearance -> Customize**
 * Click on **Design Options -> Custom CSS**
 * Add in the following code:
 *     ```
       .bx-wrapper {
           height:350px;
           overflow-y:hidden;
       }
       .slide-content {
           top:210px;
       }
       ```
   
 * Enjoy!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorMag] Featured Image Resizing](https://wordpress.org/support/topic/featured-image-resizing-4/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/featured-image-resizing-4/#post-6190262)
 * Go to
    _wp-content/themes/colormag/js/colormag-slider-setting.js_
 * Looking into the code, the only way to change this is to go to the JS and change
   adaptiveHeight to false.
    Maybe there needs to be an option in the TG Widget 
   to allow theme users to change this themselves?
 *     ```
       jQuery(document).ready(function(){
       jQuery('.widget_slider_area_rotate').bxSlider({
        mode:'horizontal',
        speed:1500,
        auto:true,
        pause:5000,
           adaptiveHeight:true,
        nextText:'',
        prevText:'',
        nextSelector:'.slide-next',
        prevSelector:'.slide-prev',
        pager:false,
        tickerHover:true
       });
       });
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorMag] Featured Image Resizing](https://wordpress.org/support/topic/featured-image-resizing-4/)
 *  [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/featured-image-resizing-4/#post-6190261)
 * Bump.
    Exactly the same issue. I was going to back through ALL my featured images
   and resize them all to fit! But it shouldn’t have to be that way. Anyone got 
   any solutions?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Separate PHP files show up as a 404](https://wordpress.org/support/topic/separate-php-files-show-up-as-a-404/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/separate-php-files-show-up-as-a-404/#post-2300885)
 * See [This Page](http://www.alingham.com/scripts/milliondots.php) as an example.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Separate PHP files show up as a 404](https://wordpress.org/support/topic/separate-php-files-show-up-as-a-404/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/separate-php-files-show-up-as-a-404/#post-2300884)
 * Folder named scripts…. any php file (or any file) in that folder just turns up
   as a 404 missing page….
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page Template with Categories](https://wordpress.org/support/topic/page-template-with-categories/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/page-template-with-categories/#post-1320087)
 * Got it people!!! Here is the final code. Feel free to use it s you see fit.
    
   As you can see at [http://www.alingham.com/v2/day](http://www.alingham.com/v2/day/)
   I am using mootools accordion, which is the reason for some of the formatting.
   Shouldn’t take much to adjust it for your own site!
 *     ```
       <?php
       /*
       Template Name: Page + Category II
       */
       ?>
   
       <?php get_header(); ?>
   
       		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       		<div id="accordion">
       		<?php
       			//Gets the name of the category // Match to Page name
       			$cat_list = get_categories();
       			//Print Category Array --> print_r($cat_list);
       			foreach($cat_list as $cat) {
       				//gets Category name from Array
       				$catName = $cat->category_nicename . ' ';
       				//Page Title
       				$post_obj = $wp_query->get_queried_object();
       				$pageName = $post_obj->post_name;
       				//cut whitespace
       				$pN = trim($pageName);
       				$cN = trim($catName);
   
       				//if category name and pagename is the same, assign id Number -> display later.
       				//or if post is part of two categories (ie 7 and 8 would be 7,8) - added comma before and after $pN
       				if(($cN == $pN)||($cN == $pN . ',')||($cN== ',' . $pN)){
       					$id = $cat->cat_ID . ' ';
       					$id = trim($id);
       					$page_category_name = $catName;
       				}
       			}
       		?>
   
       		<div class="post-top" id="post-<?php the_ID(); ?>">
       			<h2 class="toggler"><?php the_title(); ?></h2>
       			<div class="element">
       			<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
       			<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
       			</div>
       		</div>
   
       		<?php endwhile; ?>
       		<?php endif; ?>
   
       		<?php //Display posts from Category of the same name as the page....
       		$wp_query = null;
       		$wp_query = new WP_Query();
       		$wp_query->query( 'cat='.$id.'&showposts=3'.'&paged='.$paged );
       		?>
   
       		<?php while ( $wp_query->have_posts() ) : $wp_query->the_post() ?>
   
       				<div id="post-<?php the_ID() ?>" class="post">
       					<h2 class="toggler"><?php the_title() ?></h2>
       					<div class="element">
       					<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
   
       					    <div class="entry-meta">
       						<span class="cat-links"><?php printf(__('Posted in %s', 'sandbox'), get_the_category_list(', ')) ?></span>
       						<?php the_tags(__('<span class="tag-links">Tagged ', 'sandbox'), ", ", "</span>\n\t\t\t\t\t<span class=\"meta-sep\">|</span>\n") ?>
       						<span class="comments-link"><?php comments_popup_link(__('Comments (0)', 'sandbox'), __('Comments (1)', 'sandbox'), __('Comments (%)', 'sandbox')) ?></span>
       					    </div>
       					</div><!-- .element -->
       				</div><!-- .post -->
   
       		<?php endwhile ?>
   
       			</div> <!-- End of Accordion -->
   
       			<ul id="new-old-links">
       			    <li><?php next_posts_link('&laquo; Older Entries') ?></li>
       			    <li><?php previous_posts_link('Newer Entries &raquo;') ?></li>
       			</ul>
   
       <?php $wp_query = null; $wp_query = $temp; ?>
   
       </div><!-- End of class content-->
       <?php //get_sidebar(); ?>
   
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page Template with Categories](https://wordpress.org/support/topic/page-template-with-categories/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/page-template-with-categories/#post-1320012)
 * Thanks for your thoughts. I’ll have a look at custom wordpress loops. If anyone
   wants to have a go for me or already has a solution I wouldn’t say no!
    Thanks
   for the praises on the template. I’ve found it really useful. I’ve used it in
   4 sites I manage. I think it’s essential, bordering on a requirement. I don’t
   know why wordpress hasn’t made it part of the default options! For those wondering,
   if you want more than 3 posts displayed, change numberposts=3 to however many
   you want…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page Template with Categories](https://wordpress.org/support/topic/page-template-with-categories/)
 *  Thread Starter [alingham](https://wordpress.org/support/users/alingham/)
 * (@alingham)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/page-template-with-categories/#post-1319787)
 * Forgot to mention – you can see this page template in action here:
    [alingham.com/v2/day](http://www.alingham.com/v2/day)
   You can see the first ‘post’ “Day” is actually the Page content… and the rest
   of the posts below are actual posts in the category called “Day”

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