Viewing 15 replies - 16 through 30 (of 32 total)
  • Thread Starter setjo

    (@setjo)

    Pl someone help me out

    What was the syntax error?

    Thread Starter setjo

    (@setjo)

    Parse error: syntax error, unexpected ‘>’, expecting T_STRING or T_VARIABLE or ‘$’ in /home/content/42/10830242/html/wp-content/themes/lipschitz/index.php on line 20

    Can you make another paste of index.php into pastebin so I can see how the change was made?

    Thread Starter setjo

    (@setjo)

    Here is the link of index.php when I did the changes
    https://pastebin.com/8pHAY0Ym

    Pl help me

    OK, it looks like you added something extra, that commented out section wasn’t in there before. Take this out:

    <!-- <?php } else { ?>
          <?php the_content(); ?>
    <?php
    -->

    OK, it looks like it’s working correctly. Do you think you can take over from here?

    Thread Starter setjo

    (@setjo)

    Thanks a tonssssssssss to you. You are really wordpress Expert. Blog titles are visible now but there is 1 issue that exists.

    Now on the site H2 tag is visible on all pages.
    https://www.dravronlipschitz.com/
    https://www.dravronlipschitz.com/testimonials/

    Pl have a look

    OK, make the following change:

    <?php } else { ?>
    
    <?php if (!is_page() { ?>
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <?php } ?>
    
    <?php the_content(); ?>

    Thread Starter setjo

    (@setjo)

    Getting syntax error here
    Parse error: syntax error, unexpected ‘{‘ in /home/content/42/10830242/html/wp-content/themes/lipschitz/index.php on line 19

    Here is the code
    https://pastebin.com/pVMQWt3x

    Oops, sorry, I left out a parenthesis:

    <?php } else { ?>
    
    <?php if (!is_page()) { ?>
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    <?php } ?>
    
    <?php the_content(); ?>

    Thread Starter setjo

    (@setjo)

    Thanks a lot dear…Thanks a million……. You are just superb…I am very thankful for your precious time.

    You’re welcome, glad it wasn’t too hard to fix. Please mark this thread as resolved (go to the bottom and check the box that reads Mark this topic as resolved.

    Thread Starter setjo

    (@setjo)

    Thanks issue resolved

    Setjo, Robbert here. I bumped into this thread by accident, looking for Lipschitz’s website.

    You would’ve been able to reach me at the e-mail address or website in the template credits. I did not get a message from you.

    Either way I just wanted to add I only built the basic template framework. It has been modified by numerous developers after I stopped working for Lipschitz, so I wouldn’t have been of much help. Feel free to remove my name from the template credits.

    I’m glad to hear your issue was resolved.

    (Sorry for bumping an old thread.)

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Blog Post titles are not showing on blog page’ is closed to new replies.