• Hi!
    I’ve a Monster Template’s designed by Delta

    The blog page doesnt work.

    Only the last entry is displayed.

    Despite I’m less than a newbie, I could find that a while — endwhile loop aborts because of a comments_popup_link statement.

    If I take it off, the loop works fine and I can see all and every posts (but of course no the comments data).

    I’m completely unable to know how to fix it. Any help please ?

    This is the blog.php file’s content:
    [Moderator note: snipped code block, please use the pastebin as per the Forum Guidelines]

    The comments_popup_link statement makes jump out of the loop.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter pikkabbu

    (@pikkabbu)

    Sorry.

    This is the code link: https://wordpress.pastebin.com/MKEGa9Qc

    I’ve seen that comments_number() doesnt’t work either, and comments_popup_link calls it.

    I can’t find out why the demo works, as I haven’t change anything.

    https://cms.template-help.com/wordpress_32439/?page_id=7

    My site only shows the first entry and stops before showing the comment line.

    Tks

    Is your site using a static page? If so, your designated posts page will use the theme’s index.php template file – not any custom template that you might have assigned to the page.

    Thread Starter pikkabbu

    (@pikkabbu)

    Hi Esmi !

    It’s really outlandish.

    Yes, this theme has a static front page, but here is no page in the page list, nor any url for it.

    And yes, blog uses a custom template names “blog”.

    So I can’t give any front page name at “Readind display / Front Page display

    But… the demo of the theme works quite fine https://www.templatemonster.com/demo/32439.html

    Can’t understand what’s the problem (or can’t understand whay the template’s demo works fine)

    More help ?

    What is set for Reading->Front page?

    Thread Starter pikkabbu

    (@pikkabbu)

    Nothing.
    https://i75.servimg.com/u/f75/12/15/82/05/110.jpg

    None of the available pages is the home one.
    https://i75.servimg.com/u/f75/12/15/82/05/210.jpg

    I wonder how the demo can works ???????

    IN fact, the only problem (nice way to say it) is that comments_number and comments_popup_link don’t work within a page, and the blog page is… a page.

    Anyway, blog works on the demo site ! and it makes me puzzle.

    I’m just a very newbie in that and don’t know how to program php, although decades ago, I used to program in Pascal, Fortran and others oldies.

    But I wonder if there’s a way to define a mycomments_number and mycomments_popup_link in theme’s functions.php file. Anyway, the author of the template did not.

    tks a lot for helping

    Remove the Blog page from the posts page selection dropdown in Reading->Front Page

    Thread Starter pikkabbu

    (@pikkabbu)

    Done.

    But still don’t work.

    Where’s the ‘I WANNA CRY’ button ?

    Have you tried contacting the theme’s developer?

    Thread Starter pikkabbu

    (@pikkabbu)

    Sure, I did.

    In fact, there’s no way for a direct contact, Template Monster prohibits it, but I sent a support ticket.

    How long they can last, or whether they are going to give a solution, I don’t know.

    May be never.

    Anyway, the template is really well done and I feel it really nice… except this strange point.

    How the hell can the demo work ??

    And my site no.
    ??

    Thread Starter pikkabbu

    (@pikkabbu)

    some news:

    I installed XAMPP onto my desktop PC, and WP 3.04.
    The Delta’s theme too and…

    comments work properly.

    So I import into this installation my server’s database (the one who is on the internet)

    and… comments don’t work, I’ve the same problem, loop aborts at comments_popup_link.

    Without ANY change made to the code or php files, of course.

    What’s is different ?

    Pages.
    A couple of users.
    Some adjusts.

    Nothing more, I guess.

    Does this problem sounds to anyboy and can give me a clue ?

    Tks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Some bug with comments_popup_link in template’ is closed to new replies.