Pancho Perez
Forum Replies Created
-
I′m with the same problem, any idea ?
I found the solution:
Just need to change the description call to this:
<?php echo html_entity_decode($image->description) ?>
??
Forum: Fixing WordPress
In reply to: Pagination outside the loop from front-page templateHi David,
Don′t work ?? may be I′m doing something wrong, this is how I add the paged arguments.
// Get the page as an Object $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $orecent_args = array( 'posts_per_page' => 4, 'offset' => 4, 'post__not_in' => get_option( 'sticky_posts' ), 'public' => true, 'ignore_sticky_posts' => 1, 'post_type' => 'post', 'paged' => $paged ); // Our new query for the Recent Posts section. $orecent = new WP_Query( $orecent_args ); // For all other recent posts, just display the title and comment status. while ( $orecent->have_posts() ) : $orecent->the_post(); ?> <li class="entry-title"> <h4><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'lonchpress' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h4> <!--<span class="comments-link"> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Deja un comentario', 'lonchpress' ) . '</span>', __( '1 comentario', 'lonchpress' ), __( '% Comentario', 'lonchpress' ) ); ?> </span>--> </li> <?php endwhile; // If we had some posts, close the <ul> if ( $recent->post_count > 0 ) echo '</ul>'; ?> <?php Lonchpress_content_nav( 'nav-below' ); ?>
Thanx for the help ??
Forum: Fixing WordPress
In reply to: Pagination outside the loop from front-page templateHere the first loop
And the second and third
Sorry for the abuse of code lines ??Forum: Hacks
In reply to: Modifying Author Archive to include Custom Post Types and PaginationHi Jimmiejo,
It works, but since I add this hack author.php only shows the authors which had write a CPT, but if the user only have normal posts don′t shows anything.
Could be the rewrite rules? This is what I′m using:
[Code moderated as per the Forum Rules. Please use the pastebin]
It works ??
@mad_max on last try I get this message:
The plugin generated 142 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
So I change the line 50 on scissors.php, then in the backend trying to add a featured image and I get this message on the media manager popup
Notice: getimagesize(): Read error! in /home/srv/www/ad.juumanokudo-dev.com/wp-content/plugins/scissors-continued/scissors.php on line 479
??
I′m also using this plugins with it:
- Contact Form 7 – Version 3.0.2.1
- Lazy Load – Version 0.1
- Multiple Post Thumbnails – Version 1.0
- Posts 2 Posts – Version 1.1.3
- Simple Local Avatars – Version 1.3
- Sticky Custom Post Types – Version 1.2.2
Forum: Plugins
In reply to: [Lazy Load] [Plugin: Lazy Load] How to check if it's working@kazancexpert Thanx ?? I will try both.
Merry Xmas 4 all! ??
@mad_max how can I contact you, I′m really interested to update the plugin for WP 3.3. Are you available for freelancing ?
Forum: Plugins
In reply to: [Lazy Load] [Plugin: Lazy Load] How to check if it's working@kazanexpert Thanx ?? do you know any other plugin to do this ?
Forum: Plugins
In reply to: [Lazy Load] [Plugin: Lazy Load] How to check if it's workingI′m having the same doubt but I′m using thumbnails, don′t sure if this plugin works with the images outside of the content.
Any help is welcome ??
This problem is related to this topic, it′s a bug and was fixed.
Hey,
I change and know works when I try to install but then if I try to choose an image from the library to be the featured image get this:
Notice: getimagesize(): Read error! in /home/srv/www/domain.com/wp-content/plugins/scissors-continued/scissors.php on line 480
For the record, I use add_image_size to define some image sizes in functions.php, and have some different sizes asigned to an specific custom post type, could be this?
Thanx ??
Hi @mad_max
I make this change and get this message:
Fatal error: Call to undefined function load_plugin_texdomain() in /home/srv/www/ad.juumanokudo-dev.com/wp-content/plugins/scissors-continued/scissors.php on line 50Hi I get this when trying to install the plugin:
load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /home/srv/www/DOMAIN.com/wp-includes/functions.php on line 3468
Any idea of how to fixed?
I′ve use this plugin before and is really cool hope I can used in the future.