Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Not sure if you figured it out but I think this would help you. A better option would be to comment it out/remove it from the code.

    body:not(.search-results) .cat-links, body:not(.search-results) .tags-links ,body:not(.search-results) article:not(.type-page) .comments-link {display: none;}

    Haven’t tested the comments link since I don’t have them activated, but it works for category and tags.

    Thread Starter iampontus

    (@iampontus)

    Thank you for your answer Curtiss, I moved on to another plugin called “Display Posts Shortcode” that fulfilled my requirements and offered more functionality. Anyone having problem with PCS I would recommend to try that one out.

    Thread Starter iampontus

    (@iampontus)

    Hi,

    So far I haven’t seen a fix for this. I solved it by going back to the official simple-captcha tool that comes with the CF7 plugin. Not as visual amusing but it works. Let me know if you find another solution.

    Thread Starter iampontus

    (@iampontus)

    Thanks to your guidance I was able to locate the code to modify. The order for both page-events.php and front-page.php had order set to ASC. This I changed to DESC which solved the problem.

    Thanks again for brilliant help!

    (Posted the code below incase it could help other rookies out there)

    <h2>Upcoming events</h2>
                    <hr>
                    <?php
                    $args = array(
                        'numberposts' => 5,
                        'meta_key' => 'start_date',
                        'orderby' => 'meta_value',
                        'order' => 'DESC', // Changed from ASC
                        'meta_query' =>array(
                            array(
                                'key' => 'show_on_front_page',
                                'value' => '1'
                            )
    
                        )
                    );
    Thread Starter iampontus

    (@iampontus)

    Thanks for your quick response (unlike my own…) This would be at the main page under the headline “Upcoming Events”, but also under the link for events. The event on top shows a post for an event in August, and at the bottom the an event for December is showing. This is of course “event dates” and not publish dates, however the post for the top event was published back in July and the newest one is from earlier this month.

    Many thanks for you assistance!

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