Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter mrstevejobs

    (@mrstevejobs)

    ?please ensure that the shortcode is added to the classic block for proper integration

    What do you mean by this?
    How do I do it?

    The “shortcode” is basically a Gutenberg block, so not sure how to tell WP it’s a classic blog instead?

    Thread Starter mrstevejobs

    (@mrstevejobs)

    I believe it is due to the wpautop option used by Gutenberg. Which seems to be adding <p> and <br> if not in there.

    Here’s another example you can try:

    <?php  
    echo "
          <a class='social-icon' >
              Test
          </a>
    ";

    This outputs:

    <p>Test<br>
    <a class="social-icon" >
    <br>
    Test<br>
    </a></p>

    Notice how it wrapped it in two <p></p> and added a couple of <br>.

    Can you reproduce this on the default theme TwentyTwentyThree on Gutenberg?

    The “solution” I found is to minify the output before printing it, so it will be a single line of HTML.

    • This reply was modified 9 months, 2 weeks ago by mrstevejobs.
    • This reply was modified 9 months, 2 weeks ago by mrstevejobs.
    Thread Starter mrstevejobs

    (@mrstevejobs)

    I’m the author of the fullPage.js library and I can assure you they didn’t get a license for it.
    Ask them for a receipt for 2019 and see if they have one.

    You can see the customer info here. Last payment was in 3rd of Sept 2018 for a yearly license.
    They should have payed this Sept 3rd but they didn’t.
    See their purchase info here:
    https://alvarotrigo.com/emails/dmca.png

    If they had payed, you would see another row in there for the 2nd payment.( Like you can see here)

    They also ignored all my messages by email / twitter / contact forms asking them for further information about it.

    So I’m now filing a DMCA takedown notice and see what happens.

    • This reply was modified 5 years, 2 months ago by mrstevejobs.
    • This reply was modified 5 years, 2 months ago by mrstevejobs.
    Thread Starter mrstevejobs

    (@mrstevejobs)

    Thanks, I got it. Categories can have subcategories.

    Now I’m trying to figure out how to show the submenu once the user clicks on the main menu “Cambridge”.

    Thread Starter mrstevejobs

    (@mrstevejobs)

    Right, I got it.
    Sections can have subsections. Thanks for it.

    Now trying to think how to create the menus for them…
    How to show the submenus inside a menu page.

    Thread Starter mrstevejobs

    (@mrstevejobs)

    @leejosepho, the problem is. The categories would be “Cars, Tvs, Trains..” and if I filter by category, all the posts will be shown for “Cars”, for example, without taking into consideration its parent page, “London”.

    Are you talking about creating as many menus as different locations I have?
    So, 4 menus linking to 16 different categories ( 4 categories in each menu)?

    So I would have categories like:
    – Cars-London
    – Cars-Cambridge
    – Cars-Manchester
    – Cars-Briton

    – Tvs-London
    – Tvs-Cambridge
    – Tvs-Manchester
    – Tvs-Briton

    etc.

    And 4 different menus with exactly the same content “Cars, Tvs, Trains, Ships”, but linking to different categories depending on the parent menu?

    It doesn’t look very ideal to me…

    Thread Starter mrstevejobs

    (@mrstevejobs)

    Thanks for the answer, but more than just a “page”, in each of those sections I could have posts.

    Is that possible?

Viewing 7 replies - 1 through 7 (of 7 total)