Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Forum: Plugins
    In reply to: [A-Z Listing] Paging
    Thread Starter eazy0174

    (@eazy0174)

    I think you need a custom permalink structure for it, for example

    Movies/list/a/1
    Movies/list/a/2

    I’m trying to develop a solution for this, but I’m not good at WordPress programming

    Thread Starter eazy0174

    (@eazy0174)

    no, you can try it on icognito mode with google chrome

    Thread Starter eazy0174

    (@eazy0174)

    Sorry but i don’t have any ETA for going online with this website.
    Try to create a page on your local wordpress

    Inside theme directory put a file page-PAGE_ID.php where “PAGE_ID” is the id of the page you created.

    Content of page-PAGE_ID.php

    <?php
    
    if (get_query_var('test')): ?>
    
    <html>
    
     <!DOCTYPE html>
        <html>
        <head>
            <meta charset="UTF-8">
            <title></title>
        </head>
    
        <body>
        <?php echo get_query_var('test'); ?>
        </body>
    
        </html>
    <?php else: ?>
    Query not set
    <?php endif;?>

    functions.php

    function add_custom_query_vars( $qvars ) {
        $qvars[] = 'letter';
        $qvars[] = 'test';
        return $qvars;
    }
    add_filter( 'query_vars', 'add_custom_query_vars' );

    Now in browser call url:

    website.loc/?pagename=contacts&test=3

    on the page u can see:
    WP Fastest Cache file was created in 0.2534019947052 seconds, on 25-02-20 19:14:39 but every time you refresh, the date changes and no cache is created.

    Thread Starter eazy0174

    (@eazy0174)

    Hello, sorry but i don’t have a live website yet,
    i was developing a solution for my client and i noticed this problem.

    I have something similar to this:
    https://codepen.io/the_ruther4d/post/custom-query-string-vars-in-wordpress

    You can replicate the problem creating a page template (page-{ID}.php), then use this function inside:

    if (get_query_var('test')) {
        echo "test ok";
    } else {
        echo "query not set";
    }

    if you call the page with “site.loc/page?test=value” then it wont be cached.

    Thread Starter eazy0174

    (@eazy0174)

    If I set a minimum and maximum size on acf there is a reason I set them, and if my website is a gallery website and users must upload 4k+ 16:9 images, I want to give then ability to crop images to 16:9 but I don’t want them to crop 4k image to HD o 720p garbage.

    Your plugin ignores acf settings, this needs to be fixed.

    Hope you understand the problem

    Thread Starter eazy0174

    (@eazy0174)

    ok, sent you an email.

    Thread Starter eazy0174

    (@eazy0174)

    Yes, no problem when i disable query string.

    But i want to keep query string, i just want to delete this cache every X hours.
    This feature works with normal pages, but don’t work for pages with query string.

    try to disable all plugins and see if it works.
    If works, try to enable one plugin at time and see which one causes problems.

    I think the problem is betheme 14.2 if you updated it

    Did you update any other plugins? This don’t seem a metabox problem, but a theme problem.

    THe file to look for is: wp-content/themes/betheme 14.2/functions/builder/back.php row 918

    Thread Starter eazy0174

    (@eazy0174)

    There is some change of seeing this on future?

    Or maybe some way to manage a database with 10-20k series, and 1k episodes per series.

    I have a relation from episode to serie.
    1 series has many episodes, 1 episode has 1 serie.

    For example onepiece anime has 880 episodes now, naruto maybe 600, immagine to enter inside that serie, and trying to add a new episode, when a select will load not only onepiece episodes, but also naruto and other series episodes.

    Maybe i am doing something wrong, let me know please

    Thread Starter eazy0174

    (@eazy0174)

    Well, having ajax for select-advanced would really help the loading times for backend.

    But i think pagination is a must.

    Example: 1 serie has 900 episodes, on baceknd you will see 900 selects, it would be nice to have the options to set pagination size, for example 10 items per page, and when user click page “2” it will load the next 10 selects.

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