design of page where is show posts by tags

Hi, my site is http://bettingtip.info/ its multisite
page where is shown global posts by tags is http://bettingtip.info/tags/football example.
how can i improve that page to be shown only posts titles, and some css for better design

Thanks

  • Jude
    • DEV MAN

    Hi again @Nikola

    Hope your weekend was good !

    I took a look at the page and looks like its using tables to display the page which is extremely bad practice. In its current form its not possible to hide the text and show only titles because it has no CSS classes to select this bit

    My suggestion is to switch themes or at-least re write the template to replace table less code with CSS.

    Cheers
    Jude

  • Jude
    • DEV MAN

    Hi again @Nikola

    So sorry about this, my colleague @Michael Bissett pointed out this page was generated by the plugin. I was doing a bit of digging into the code and realized any major change needs the PHP modified.

    That said I have written a snippet for you that uses JS and restyles the page.

    add_action('wp_footer', 'custom_JS') ; 
    
    function custom_JS() {
    echo <<<'JS'
    <script type="text/javascript">
    jQuery(document)["ready"](function(_0xca18x0){if(window["location"]["href"]["indexOf"]("tags")> -1){_0xca18x1()};function _0xca18x1(){_0xca18x0("div.gssnav:last")["prepend"](_0xca18x0("table > tbody > tr > td > div")["clone"](true))["prev"]()["remove"]()}});
    </script>
    JS;
    }

    Just copy/paste the code into the functions.php file of your child theme or a site specific plugin if you use one.

    Sorry about the earlier confusion

    Jude

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.