Forum Replies Created

Viewing 15 replies - 1 through 15 (of 121 total)
  • Plugin Author Kemal YAZICI

    (@kyazici)

    If I understood your question correctly, there is no automatic sorting of lists at the moment, but if you want to sort the titles within the list, you can drag and drop them to change their position, just like in the video GIF below:
    https://ps.w.org/geekpress/assets/screenshot-12.gif?rev=3122838

    Plugin Author Kemal YAZICI

    (@kyazici)

    Hello, you have to create seo friendly permalinks for your pages like yourdomain.com/games otherwise the plugin would not work.

    Plugin Author Kemal YAZICI

    (@kyazici)

    Thank you ??

    Plugin Author Kemal YAZICI

    (@kyazici)

    Hello

    I am still developing the GeeK plugin, and I will be adding some widgets and shortcodes soon. This is a project I can only work on in my spare time, and unfortunately, since I’m developing it alone with little support, the progress is a bit slow for now. I can’t give a definite date, but I will be adding many widgets and shortcodes soon, and I’m also working on the documentation (there’s a lot to be done :)). The features you requested are also on my to-do list.

    Plugin Author Kemal YAZICI

    (@kyazici)

    I think there is an issue with the images you added because I can’t see them here. If you’re unable to attach the screenshots that support your suggestion here, you can also send them to [email protected]. I apologize for the late response; I’ve been dealing with the flu for the past three days, so I’m a bit slow in getting back to you.

    Plugin Author Kemal YAZICI

    (@kyazici)

    Thank you for your suggestions; I will review all of them. I have some ideas in mind for allowing users to test the API services, and I will implement them soon

    Plugin Author Kemal YAZICI

    (@kyazici)

    Please provide more details so that I can consider your request accordingly. I didn’t fully understand what exactly you want:)

    Plugin Author Kemal YAZICI

    (@kyazici)

    If you want, you can add the catalog anywhere you like using a shortcode.

    [geekpress type=”movies”]

    [geekpress type=”tvshows”]

    Additionally, you can manage catalog pages via the GeeK!->Custom Pages section in the admin panel and create new pages.

    As for the other question, token services allow you to fetch all the data for the movies using API services; you only need to add the trailers manually via YouTube. Other than that, actor information, movie details, and images can be automatically pulled using the API integration provided by the token services.

    Plugin Author Kemal YAZICI

    (@kyazici)

    Hello,
    First of all, it is not recommended to remove the slugs of custom post types, and technically, many errors may occur. However, you can safely change the slugs. I’ll explain both methods to you, but the responsibility is yours.

    I’m already considering adding a feature to change the slugs of custom post types in future updates, but if you want to do it now, you’ll need to get into some coding.

    Go to the Admin panel, then navigate to Appearance -> Theme File Editor. In the editor, click on Theme Functions (functions.php) from the menu on the right. Add the following code at the very bottom of the editor:

    function geekp_create_custom_post_type_function() {
    register_post_type('gp_movie',
    array(
    'labels' => array(
    'name' => __( 'Movie', 'geekpress' ),
    'singular_name' => __( 'Movie', 'geekpress' )
    ),
    'public' => true,
    'has_archive' => false,
    'rewrite' => array('slug' => 'film'), // Change the slug here, for example, I changed 'movie' to 'film'
    'create_posts' => 'do_not_allow',
    'show_in_menu' => false,
    )
    );

    register_post_type('gp_tvshow',
    array(
    'labels' => array(
    'name' => __( 'TV Show', 'geekpress' ),
    'singular_name' => __( 'TV Show', 'geekpress' )
    ),
    'public' => true,
    'has_archive' => false,
    'rewrite' => array('slug' => "series"), // Change the slug here, for example, I changed 'tv' to 'series'
    'show_in_menu' => false,
    )
    );

    register_post_type('gp_episode',
    array(
    'labels' => array(
    'name' => __( 'Episode', 'geekpress' ),
    'singular_name' => __( 'Episode', 'geekpress' )
    ),
    'public' => true,
    'has_archive' => false,
    'rewrite' => array('slug' => "part"),
    'show_in_menu' => false,
    )
    );
    }
    add_action('init', 'geekp_create_custom_post_type_function');

    As you can see here, by editing the part 'rewrite' => array('slug' => 'film'), you can change the slug to whatever you want. Since I set the slug to ‘film’, the URLs will now appear as /film/movie-name.

    After saving this, go to the Admin panel again and click on Settings -> Permalink, then update the permalinks to make the new links visible.

    If you want to completely remove the slugs, the responsibility is yours. However, if you encounter any issues after testing, you can revert to the first method I showed you.

    Directly paste the following code at the end of your functions.php file, as mentioned above:

    function geekp_create_custom_post_type_function() {
    register_post_type('gp_movie',
    array(
    'labels' => array(
    'name' => __( 'Movies', 'geekpress' ),
    'singular_name' => __( 'Movie', 'geekpress' )
    ),
    'public' => true,
    'has_archive' => false,
    'rewrite' => array('slug' => '/', 'with_front' => false),
    'show_in_menu' => false,
    )
    );

    register_post_type('gp_tvshow',
    array(
    'labels' => array(
    'name' => __( 'TV Shows', 'geekpress' ),
    'singular_name' => __( 'TV Show', 'geekpress' )
    ),
    'public' => true,
    'has_archive' => false,
    'rewrite' => array('slug' => '/', 'with_front' => false),
    'show_in_menu' => false,
    )
    );

    register_post_type('gp_episode',
    array(
    'labels' => array(
    'name' => __( 'Episodes', 'geekpress' ),
    'singular_name' => __( 'Episode', 'geekpress' )
    ),
    'public' => true,
    'has_archive' => false,
    'rewrite' => array('slug' => '/', 'with_front' => false),
    'show_in_menu' => false,
    )
    );
    }
    add_action('init', 'geekp_create_custom_post_type_function');

    function geekp_custom_rewrite_rules() {
    add_rewrite_rule(
    '^([^/]+)/?$',
    'index.php?gp_movie=$matches[1]',
    'top'
    );
    add_rewrite_rule(
    '^([^/]+)/?$',
    'index.php?gp_tvshow=$matches[1]',
    'top'
    );
    add_rewrite_rule(
    '^([^/]+)/?$',
    'index.php?gp_episode=$matches[1]',
    'top'
    );
    }
    add_action('init', 'geekp_custom_rewrite_rules');

    function geekp_modify_post_type_query($query) {
    if (!is_admin() && $query->is_main_query()) {
    if ($query->get('page') == '') {
    if (isset($query->query['name'])) {
    $query->set('post_type', array('gp_movie', 'gp_tvshow', 'gp_episode', 'post', 'page'));
    }
    }
    }
    }
    add_action('pre_get_posts', 'geekp_modify_post_type_query');

    After saving this, update your permalinks as described above…

    Looking forward to your feedback.

    Plugin Author Kemal YAZICI

    (@kyazici)

    Great:) thank you for your feedback.

    Plugin Author Kemal YAZICI

    (@kyazici)

    I have updated the plugin, you can check it now.

    Plugin Author Kemal YAZICI

    (@kyazici)

    I have solved the problem and i am going to release an update tonight. I will be waiting for your feedback after the update.

    Plugin Author Kemal YAZICI

    (@kyazici)

    I managed to reproduce the same error on localhost, and I will now focus on finding a solution. I’ll update you here once I make progress. Thank you for the feedback.

    Edit:
    I found the problem; pages are not displaying for addresses starting with localhost/xxx, which seems like a permalink issue. I’ll look into what can be done about this. While I’m working on it, you can assign a virtual domain to your WordPress site and test the plugin, like games.test for example.

    • This reply was modified 2 months, 1 week ago by Kemal YAZICI.
    Plugin Author Kemal YAZICI

    (@kyazici)

    That’s very interesting because the plugin works in all my local tests. It might be that the browser is somehow blocking the JavaScript codes. Have you tried using a different browser? However, if you can access the demo data on the?https://geekplug.in?site, we can rule out that possibility. In that case, there might be an issue with your XAMPP settings; you could try using a different localhost program. I am using XAMPP and it works perfectly.

    • This reply was modified 2 months, 1 week ago by Kemal YAZICI.
    Plugin Author Kemal YAZICI

    (@kyazici)

    Everything seems legit. Can you change your theme and try again. If this solve the problem, I would like to know your theme name, so I can check it.

Viewing 15 replies - 1 through 15 (of 121 total)