Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

chao

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 21 total)
  • Author
    Posts
  • in reply to: Change Sidebar width #1914
    chao
    Participant

    All right, I saw that. Thanks a lot :)

    in reply to: Change Sidebar width #1907
    chao
    Participant

    Hi Andrew,

    Thanks for your help. However, live() is deprecated and is replaced by on().

    Could you point me to where you modified the code so I can fix it again?

    Also, on this page (http://cwcat.com/tag-portfolio/portfolio/), the appended image posts aren’t included class=”fancybox”. This causes whenever I click on an appended post, it doesn’t show up with lightbox. Instead, it directs to another page with image.

    Is it the same problem with the live() funciton?

    Cheers,
    B

    p/s: nevermind, I have found where you put the code into: head_function(). Now for the fancybox. Couldn’t find anywhere :(

    • This reply was modified 11 years ago by chao.
    • This reply was modified 11 years ago by chao.
    in reply to: Change Sidebar width #1895
    chao
    Participant

    Hi Andrew,

    I have solved other problems and changed several things, therefore the error isn’t there anymore.

    However, there is only one remaining problem. The appended posts don’t show the image-post-overlay when being hovered.

    You can see the problem right here.

    View post on imgur.com

    • This reply was modified 11 years ago by chao.
    in reply to: Change Sidebar width #1878
    chao
    Participant

    One more thing,

    How can I change the posts page to get excerpt only?

    For example, this page http://cwcat.com/blog/. I set the Blog page template as Front Page, then set the Posts Page in the reading setting of wordpress to this Blog page.

    The page gets displayed, however with full content (although I have ticked the summary text only). In order for me to make it display part of the text, I have to put (more…)