Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • same problem here

    i think thats the css problem
    so first get some css tutorials for the drop down tutorial

    i think you want to say see more on click,that is excerpt,,
    go on function.php of your theme and paste the below code

    function custom_excerpt_length( $length ) {
    return 20;
    }
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

    function new_excerpt_more( $more ) {
    return ‘ <p>Read more</p>’;
    }
    add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );

    then go to your template page and paste the below code where your post originally lies

    <?php the_excerpt();?>
    you can change the above code as required
    i think it will help you

    i have the problem too. I am newer to wordpress and i tried a lot to solve it,
    i have the page counter,and each time i click the load more button,the page is counted and finally load more button disappears when the count finishes. But the problem is that,i can see only the first displayed images but no more than that.The images should be loaded each time i click the load more button.here is my ajax code :

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <script type="text/javascript">
    $(document).ready(function(){
    	$('#blog_page_number').val(2);
    });
    function load_more_blog()
    {
    	var btn = $('.load-button a.load');
    	btn.button('loading');
    	var blog_page_number = $('#blog_page_number').val();
    	var maxnews_page_number = $('#maxnews_page_number').val();
    	var parameter = "action=filter_result&paged="+blog_page_number;
    	if(parseInt(blog_page_number) > parseInt(maxnews_page_number) ) return false;
    	$.ajax({
    		type: "GET",
    		url: "<?php bloginfo('template_url'); ?>/template-seemore.php",
    		data: parameter,
    		success: function(data){
    			btn.button('reset');
    			$('#blog_list_load .item:last').after(data);
    			var nextNum = parseInt(blog_page_number) + 1;
    			$('#blog_page_number').val(nextNum);
    			if(parseInt(blog_page_number) == parseInt(maxnews_page_number) ){
    				$("#load-more-blog").html('');
    			} else {
    				$("#load-more-blog").html('<a href="void(0);">LOAD MORE</a>');
    			}
    		}
    	});
    }
    </script>
Viewing 4 replies - 1 through 4 (of 4 total)