Zion Eye Media
Forum Replies Created
-
Forum: Plugins
In reply to: [Column Shortcodes] Background colors/images behind columnsThanks, Tobias. Exactly what I need ?? You rock bro, keep up the awesome work.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Arrow Indicators on Nav Menu DropdownsThis is a good technique but unfortunately (for me at least), I have clients that still use IE8+ and this doesn’t work well on IE. I do love the fact that I don’t have to use superfish to make it happen…
Forum: Fixing WordPress
In reply to: Display Post of Child Category onlyHey @salocined,
Where does that code reside in your page? Before or after loop?
Forum: Fixing WordPress
In reply to: related post by category – but not current child categoryI have a similar code and am looking for answers on how to display posts from the child category but not the parent category. Any help would be appreciated!
Forum: Fixing WordPress
In reply to: Showing related sub-subcategory postsUGH such a goofball… here’s the code:
<?php $orig_post = $post; global $post; $categories = get_the_category($post->ID); if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id; $args=array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'posts_per_page'=> -1, // Number of related posts that will be shown. 'caller_get_posts'=>1, 'orderby' => rand ); $my_query = new wp_query( $args ); if( $my_query->have_posts() ) { echo '<div id="related_posts"><h3>Related Projects</h3> '; while( $my_query->have_posts() ) { $my_query->the_post();?> <div class="pleft"> <h3>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></h3> <div class="relatedthumb">" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail(); ?></div> <div class="relatedcontent"> </div> </div> <? } echo ' </div>'; } } $post = $orig_post; wp_reset_query(); ?>
Forum: Plugins
In reply to: 2.9.2 Import from WP XML File failing – Failed to open streamI don’t think I have the permissions nor capability to insert the link on the webserver, so the only option I could think of was to wipe out all tables and start over (again). And lo and behold, I still get the same function:gzopen issue…
I’ve checked around other posts on this forum and still no solution… Any help to get my imports up is greatly appreciated!
I guess ONE last option is to retype my import manually… :(:( Which I would be willing to do if this is the ONLY way out.
Forum: Plugins
In reply to: 2.9.2 Import from WP XML File failing – Failed to open streamSo, my site is hosted through a third party hosting company (ipower)… how do I get to the local hdd of that webserver to run the import? Or is it through the MySQLadmin panel?
Forum: Plugins
In reply to: 2.9.2 Import from WP XML File failing – Failed to open streamHey Kosch, thanks for this post! I have the same situation as you do, so now I’ll try it and see if it works for me!
Forum: Installing WordPress
In reply to: Importing from WordPress to WordPressI have a similar situation, except I exported a WordPress backup xml on an old blog for importing to a new one. I guess my situation is a bit different: had an existing /blog folder, backed up my data, then deleted the folder… Then created a new blog folder and reinstalled WordPress in that folder. So when I try to import the backup, I get this:
Warning: gzopen(\\nawinfs05\home\users\web\b959\ipw.zioneyem\blog/wp-content/uploads/\\nawinfs05\home\users\web\b959\ipw.zioneyem\blog/wp-content/uploads/2010/04/ZEM-blog-backup.xml_2.txt) [function.gzopen]: failed to open stream: No such file or directory in \\nawinfs05\home\users\web\b959\ipw.zioneyem\blog\wp-admin\import\wordpress.php on line 74
I made sure (or at least I hope I did) that data tables from the previous blog will not screw things up, but now it’s saying it’s not existing…
Help!
Thanks!