Title: txie's Replies | WordPress.org

---

# txie

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar Shortcode & Block] Filter by month](https://wordpress.org/support/topic/filter-by-month/)
 *  [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/filter-by-month/#post-6119948)
 * found a solution.
    in the-events-calendar-shortcode.php in line: ‘month’ => ”,
   replace it with: ‘month’ => $curr_month,
 * then before extract( shortcode_atts( array( add: $curr_month = date(‘Y-m’);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar Shortcode & Block] Filter by month](https://wordpress.org/support/topic/filter-by-month/)
 *  [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/filter-by-month/#post-6119946)
 * Thanks joinfof! it works.
    I´m trying to target current month. Need some help.
   <?php echo do_shortcode( “[ecs-list-events thumb=’true’ thumbwidth=’150′ thumbheight
   =’150′ order=’DESC’ month=’echo date(‘Y-m’)’]” ?>
 * Thanks in advance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[jQuery Smooth Scroll] How to scroll to offset anchor links](https://wordpress.org/support/topic/how-to-scroll-to-offset-anchor-links/)
 *  [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/how-to-scroll-to-offset-anchor-links/#post-3494253)
 * same problem here, anyone? thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery]](https://wordpress.org/support/topic/plugin-nextgen-gallery-46/)
 *  [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-46/#post-1974398)
 * Hi!
    I´m no expert on this things, but I got Galelrific working like this: You
   download the “examples” galleriffic-2.0.zip to your theme folder (might wanna
   try twentyten theme firts) from here: [http://www.twospy.com/galleriffic/](http://www.twospy.com/galleriffic/)
 * you upload gallerific folder inside “nextgen-gallery” folder.
    Then inside nggallery.
   php after this code
 *     ```
       // required for the slideshow
       		if ( NGGALLERY_IREXIST == true && $this->options['enableIR'] == '1' && nggGallery::detect_mobile_phone() === false )
       			wp_enqueue_script('swfobject', NGGALLERY_URLPATH .'admin/js/swfobject.js', FALSE, '2.2');
               else {
                   wp_register_script('jquery-cycle', NGGALLERY_URLPATH .'js/jquery.cycle.all.min.js', array('jquery'), '2.88');
                   wp_enqueue_script('ngg-slideshow', NGGALLERY_URLPATH .'js/ngg.slideshow.min.js', array('jquery-cycle'), '1.05');
       ```
   
 * add this code:
 *     ```
       // GALLERIFIC
       wp_register_script('galleriffic' ,NGGALLERY_URLPATH. 'galleriffic/js/jquery.galleriffic.js',false, '2.0.0');
       wp_register_script('jquery.opacityrollover', NGGALLERY_URLPATH . 'galleriffic/js/jquery.opacityrollover.js',false, '2.0.0');
       wp_enqueue_script('galleriffic');
       wp_enqueue_script('jquery.opacityrollover');
       wp_enqueue_style('galleriffic-style', NGGALLERY_URLPATH . 'galleriffic/css/basic.css',false,'2.0','all');
       wp_enqueue_style('galleriffic-style-2', NGGALLERY_URLPATH . 'galleriffic/css/galleriffic-2.css',false,'2.0','all');
       ```
   
 * then inside nextgen-gallery/view you create a template file called for example
   gallery-galleriffic.php with this code:
 *     ```
       <?php
       /**
   
       @description Galleriffic (http://www.twospy.com/galleriffic/) template for Nextgen Gallery WordPress plugin
       @author Kaarel Sikk
   
       Template Page for the gallery overview
   
       Follow variables are useable :
   
       	$gallery     : Contain all about the gallery
       	$images      : Contain all images, path, title
       	$pagination  : Contain the pagination content
   
        You can check the content when you insert the tag <?php var_dump($variable) ?>
        If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
       **/
       ?>
       <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>
       <?php if (!empty ($gallery)) : ?>
   
       <div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>">
   
       	<div id="gallery" class="content">
       		<div id="controls" class="controls"></div>
       		<div class="slideshow-container">
       			<div id="loading" class="loader"></div>
       			<div id="slideshow" class="slideshow"></div>
       		</div>
       		<div id="caption" class="caption-container"></div>
       	</div>
       	<div id="thumbs" class="navigation">
       		<ul class="thumbs noscript">
       		<!-- Thumbnails -->
       		<?php foreach ($images as $image) : ?>
       			<li>
       			<a class="thumb" href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
       			<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" width="78" height="78"/>
       			</a>
                   <div class="caption"><?php echo $image->description; ?></div>
       			</li>
       		<?php endforeach; ?>
       		</ul>
       	</div>
        	<div style="clear: both;"></div>
       	<script type="text/javascript">
       			jQuery(document).ready(function($) {
       				// We only want these styles applied when javascript is enabled
       				$('div.navigation').css({'width' : '300px', 'float' : 'left'});
       				$('div.content').css('display', 'block');
   
       				// Initially set opacity on thumbs and add
       				// additional styling for hover effect on thumbs
       				var onMouseOutOpacity = 0.67;
       				$('#thumbs ul.thumbs li').opacityrollover({
       					mouseOutOpacity:   onMouseOutOpacity,
       					mouseOverOpacity:  1.0,
       					fadeSpeed:         'fast',
       					exemptionSelector: '.selected'
       				});
   
       				// Initialize Advanced Galleriffic Gallery
       				var gallery = $('#thumbs').galleriffic({
       					delay:                     2500,
       					numThumbs:                 15,
       					preloadAhead:              10,
       					enableTopPager:            true,
       					enableBottomPager:         true,
       					maxPagesToShow:            7,
       					imageContainerSel:         '#slideshow',
       					controlsContainerSel:      '#controls',
       					captionContainerSel:       '#caption',
       					loadingContainerSel:       '#loading',
       					renderSSControls:          true,
       					renderNavControls:         true,
       					playLinkText:              'Play Slideshow',
       					pauseLinkText:             'Pause Slideshow',
       					prevLinkText:              '&lsaquo; Previous Photo',
       					nextLinkText:              'Next Photo &rsaquo;',
       					nextPageLinkText:          'Next &rsaquo;',
       					prevPageLinkText:          '&lsaquo; Prev',
       					enableHistory:             false,
       					autoStart:                 false,
       					syncTransitions:           true,
       					defaultTransitionDuration: 900,
       					onSlideChange:             function(prevIndex, nextIndex) {
       						// 'this' refers to the gallery, which is an extension of $('#thumbs')
       						this.find('ul.thumbs').children()
       							.eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
       							.eq(nextIndex).fadeTo('fast', 1.0);
       					},
       					onPageTransitionOut:       function(callback) {
       						this.fadeTo('fast', 0.0, callback);
       					},
       					onPageTransitionIn:        function() {
       						this.fadeTo('fast', 1.0);
       					}
       				});
       			});
       		</script> 
   
       	<!-- Pagination -->
        	<?php echo $pagination ?>
   
       </div>
   
       <?php endif; ?>
       ```
   
 * Then you create the gallery with nextgen (add some captiosn to it) and add the
   shortcode in a page:
    [nggallery id=1 template=”galleriffic”] (for the templates
   called gallery-galleriffic)
 * That´s how I get it working after reading lots of articles on the web and making
   my own corrections. I´m still learning how to change functionalities on this!
   I Hope its usefull to you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Carousel] How do I turn off autoslide?!](https://wordpress.org/support/topic/plugin-wp-carousel-how-do-i-turn-off-autoslide/)
 *  [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-how-do-i-turn-off-autoslide/#post-1411073)
 * Inside the Carousel item editor theres a “Themes” option and on the right a “
   Display options”.
    On “Display options” you can change “Autoslide settings”.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Table not working properly](https://wordpress.org/support/topic/table-not-working-properly/)
 *  Thread Starter [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/table-not-working-properly/#post-1671975)
 * This worked:
 * tbody th {
    background:none; padding:8px 2px 8px 10px; text-align:left; }
 * tbody td {
    padding:8px 2px 8px 10px; vertical-align: top }
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] How to resize the form fields](https://wordpress.org/support/topic/plugin-contact-form-7-how-to-resize-the-form-fields/)
 *  [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-how-to-resize-the-form-fields/#post-1618946)
 * Inside wp-content > plugins > contact-form-7 > styles.css is your CSS
    Add the
   style for your formfields there: .formInput { font-family:Georgia, “Times New
   Roman”, Times, serif; color: #999999; width: 226px; font-size: 12px; border:0;}
   and then on your Contact Form 7 admin you should add the style “class:formInput”:
 * <p>Your Name (required)
    [text* your-name class:formInput] </p>
 * Hope this helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [WP PHPList I want to put text inside the search forms](https://wordpress.org/support/topic/wp-phplist-i-want-to-put-text-inside-the-search-forms/)
 *  Thread Starter [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/wp-phplist-i-want-to-put-text-inside-the-search-forms/#post-1600456)
 * I can´t add this:
    value=”Text to be displayed” onfocus=”if(this.value==this.
   defaultValue)this.value=”;” onblur=”if(this.value==”)this.value=this.defaultValue;”
 * thanks for your help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get the parent category for single posts](https://wordpress.org/support/topic/get-the-parent-category-for-single-posts/)
 *  Thread Starter [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/get-the-parent-category-for-single-posts/#post-1570401)
 * Great! thank you so much!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get the parent category for single posts](https://wordpress.org/support/topic/get-the-parent-category-for-single-posts/)
 *  Thread Starter [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/get-the-parent-category-for-single-posts/#post-1570395)
 * Thank you for this!
    The code works for the single pages that have many categories,
   but won´t work for those who have only the parent category.
 * This is my site:
    [http://k-i-t.com.ar/](http://k-i-t.com.ar/)
 * and here is one of the single pages that is not working (not even the echo):
   
   [http://k-i-t.com.ar/de-cocina-en-construcción](http://k-i-t.com.ar/de-cocina-en-construcción)
   any ideas?
 * Thanks!!!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Change an image according to categories, pages, single or home](https://wordpress.org/support/topic/change-an-image-according-to-categories-pages-single-or-home/)
 *  Thread Starter [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/change-an-image-according-to-categories-pages-single-or-home/#post-1569587)
 * Oh… I see… Thanks for this!
    I made it work by adding the subcategories styles,
   thanks to you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Change an image according to categories, pages, single or home](https://wordpress.org/support/topic/change-an-image-according-to-categories-pages-single-or-home/)
 *  Thread Starter [txie](https://wordpress.org/support/users/txie/)
 * (@txie)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/change-an-image-according-to-categories-pages-single-or-home/#post-1569548)
 * Yes, when I write everythimng manually it works, for example:
 *     ```
       <?php
           if (is_front_page() ) {
             $cat_title = "home";
           } elseif (is_page(array("archives"))) {
             $cat_title = "archive";
           } elseif (is_page() || is_search()) {
             $cat_title = "page";
           } elseif (is_category('1') || is_single())  {
             $cat_title = "cuadernos";
           } elseif (is_category('3'))  {
             $cat_title = "cocina";
           } elseif (is_category('4')) {
             $cat_title = "bienvenida";
           } elseif (is_category('5')) {
             $cat_title = "regalo";
           }
         ?>
       ```
   
 * But I need it to be automatic.
    My website is: [http://k-i-t.com.ar/](http://k-i-t.com.ar/)
 * You can see that the code works for pages and for the home:
    [http://k-i-t.com.ar/](http://k-i-t.com.ar/)
   [http://k-i-t.com.ar/como-comprar-kit](http://k-i-t.com.ar/como-comprar-kit)
 * But not for categories:
    [http://k-i-t.com.ar/categoria/cuadernos](http://k-i-t.com.ar/categoria/cuadernos)
 * Thanks!

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