• Resolved Vishal Patel

    (@soccertub)


    This Third-Party Theme Compatibility doesn’t work. I did what is mentioned here. But still nothing is fixed, I am using Jnews WordPress theme. I would recommend uploading a video tutorial on this. Or else I have no option to use Sportpress. It is really frustrating.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Leon

    (@leonterry)

    Hi Vishal,

    I’ve replied to you on your support ticket but I’ll post the reply below for reference ??

    I’ll try to describe the easiest way to customize your theme, hopefully it will be enough to get you set up ??

    Firstly you should create a child theme. This means you can update JNews without losing your customizations so it really is important you do this.

    I do believe JNews comes with a child theme so you can use that.

    Add a folder called wpclubmanager to that child theme then create and add 4 files to that folder called:

    single-club.php
    single-match.php
    single-player.php
    single-staff.php

    You should now have a child theme structure that looks like this:

    jnews-child
    – – style.css
    – – functions.php
    wpclubmanager
    – – single-club.php
    – – single-match.php
    – – single-player.php
    – – single-staff.php

    From your JNews theme copy the page.php file and paste the contents into each of those 4 wpclubmanager files. Now you need to locate the ‘WordPress Loop’ inside of those files and replace it with my plugins ‘loop’.

    I don’t know the theme so can’t tell you exactly where the loop is but look for:

    <?php the_content(); ?>

    That needs to be replaced with:

    <?php wpclubmanager_get_template_part( 'content', 'single-player' ); ?>

    in each page. Make sure to change the second parameter for each page respectively.

    That’s it! Once you activate the child theme then you pages should work correctly.

    I hope that is of help to anybody in this situation ??

Viewing 1 replies (of 1 total)
  • The topic ‘Third Party Theme Compatibility’ is closed to new replies.