WordPress.org

Ready to get started?Download WordPress

Forums

GamePress
[resolved] Recent News, Reviews & Videos Widget (5 posts)

  1. Getfocused
    Member
    Posted 1 year ago #

    Hello,

    I'm just wondering if you are able to have the latest news + videos widget without the Game Reviews tab?

    I love this theme and the look of that widget but I don't actually have any game reviews.

    Or even if anyone could suggest another widget which would suit.

    Thank you very much.

  2. alex27
    Member
    Theme Author

    Posted 1 year ago #

    You cannot remove revies tab (unless you're comfortable with editing the code).

  3. Getfocused
    Member
    Posted 1 year ago #

    Okay thank you.

  4. kingneo23
    Member
    Posted 1 year ago #

    Hello Getfocused!

    If you want to remove the "Reviews" tab from the widget than follow my instructions it's very simple!

    Find the following file:

    wp-content/themes/gamepress/admin/widgets/recent-posts-widget.php

    IMPORTANT!!! MAKE A BACKUP FROM THIS FILE!!!

    Now open the file in a text editor (i recommend you Notepad++)

    Delete line 42:

    <li><a href="#"><?php _e('Reviews','gamepress'); ?></a></li>

    Then delete everything between line 46 and line 74 including line 46 and 74

    <ul id="tabs-1" class="reviews pane">
    ...
    </ul>

    Save the file and upload it to your site.
    Here is my Site: http://www.myclan.hu

  5. alex27
    Member
    Theme Author

    Posted 1 year ago #

    ANY changes to the theme should be done via Child Theme!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.