• A client has asked me to review her site at [ redundant link removed ]
    It’s a strange set up with php files being included for the homepage design.
    I have a problem on the Chambres link in that that the following code is brought in by a php file
    <tr class="hdvroomrow"><td class="hdvroomc1"><a class="hdvtariflink" href="/chambresdhotes/provencal/"><p class="hdvpanelhdrfr">Chambre Proven&ccedil;al</p><p class="hdvpaneldescfr">Chambre double, donnant sur patio. SdB avec douche.</p></a></td><td class="hdvroomc2"><a onclick="showhide3(1,1); return false" href="#"><img class="hdvthumb" src="/resources/gallery/thumbnails/room1pic1.jpg" alt="r1t1" /></a><a onclick="showhide3(1,2); return false" href="#"><img class="hdvthumb" src="/resources/gallery/thumbnails/room1pic2.jpg" alt="r1t2" /></a><a onclick="showhide3(1,3); return false" href="#"><img class="hdvthumb" src="/resources/gallery/thumbnails/room1pic3.jpg" alt="r1t3" /></a></td></tr>
    but when I inspect on the site extra <p> tags are added which throws out the centre panel formatting

    1. a blank <p></p> is added after the first line
    2. <p><a class="hdvtariflink" href="/chambresdhotes/provencal/"></a></p> is added before the first closed <\td>

    I’ve tried a “remove P tag” plugin and “unprettying” the HTML in the php include but no luck

    Any clues would be most welcome

    Thanks in anticipation
    Kevin

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

    *Looks*

    That’s an obsolete theme. Says so in the theme’s style.css file.

    This version on Weaver is essentially OBSOLETE. Now, a new, even better version, called Weaver II, is available. Weaver II has many new features, including second-to-none automatic mobile device support. The new version is available right here at https://www.ads-software.com/extend/themes/weaver-ii, or you can get more information at https://weavertheme.com. For a long time Weaver 2.2.x has been one of the highest rated themes on www.ads-software.com. This version will remain available until the next major version of WP (probably 3.5), but, we highly recommend that you use Weaver II rather than Weaver 2.2.x. Thank you.

    Even the weaver-II is outdated.

    Try the one in the repo

    https://www.ads-software.com/themes/weaver-xtreme/

    Or seek support at the author’s site.

    https://forum.weavertheme.com/

    Thread Starter encoreservices

    (@encoreservices)

    Thanks @jdembowski

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Extra tags being added to included PHP’ is closed to new replies.