Forum Replies Created

Viewing 15 replies - 196 through 210 (of 927 total)
  • It is common for consumer-oriented projects to not include support for IE because of the gap in features when comparing to the evergreen browsers. Remember that IE11 has not seen many new features since its release in 2013! In the web world 7 years is an exceptionally long time. With that said, however, IE11 is still supported and used in corporate environments so projects that are destined for use in a company setting often stipulate that IE11 be supported by the development team of a site.

    If you did not require IE11 support in your negotiations when specifying the site, then the developers are likely to have not considered it when developing. They are perfectly within their right to charge extra for out-of-specification changes.

    As far as I can tell, to achieve this you can either:

    • add a new command to call webpack directly for your front-end scripts and use create-guten-block script for the editor code, or
    • eject from create-guten-block to copy all the webpack configuration from cgb into your project and customise from there

    For the first option, edit the package.json file to add your custom build script into the scripts object – you likely want to investigate how to configure webpack for your front-end code and call the build of that:

    {
        ...
        "scripts": {
            "build": "cgb-scripts build && my-custom-builder"
        }
    }
    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Product Attributes are saved as a taxonomy, so you want to use something like this to show their names:

    [a-z-listing display="terms" taxonomy="pa-designer"]
    
    Plugin Author Dani Llewellyn

    (@diddledani)

    The problem is your theme is applying styling that is overriding the plugin. You can fix it by navigating to admin -> appearance -> customize. From there find the “Custom CSS” feature and add the following CSS code which is specific to your site:

    #left-area .page ul.az-links li {
        background: unset;
        padding: unset;
    }
    Plugin Author Dani Llewellyn

    (@diddledani)

    Your shortcode looks correct. If you have no articles in the benh category it might be displaying all posts as a fall-back. I’ve seen this before where when a term is empty it shows a list of all posts instead of none.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Is that a direct copy and paste? You have a space between terms and the = after. It should be terms="benh" with no space.

    Plugin Author Dani Llewellyn

    (@diddledani)

    You can link to a specific letter by appending #letter-a, #letter-b, #letter-c, etc to the address of the page: https://example.com/a-z-listing#letter-a. Note that this is entirely handled in the browser – everything after a # in a web address is only ever seen by the browser, and never sent to the server. That means while it appears to be different pages it is actually all the same page with different bits hidden and shown on-demand.

    Plugin Author Dani Llewellyn

    (@diddledani)

    The file is at wp-content/plugins/a-z-listing/scripts/a-z-listing-tabs.js. The code I posted above should be sufficient to cause it to be loaded.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    My plugin doesn’t support this quite how you want it. I have supplied a small javascript file that, when loaded, will “hide” some of the list so that only a single letter is showing at a time. However, this is done entirely in the browser so you won’t have a separate page for each letter.

    You can experiment with this to see if it suits you with the following code added to your theme’s functions.php file:

    add_filter( 'a_z_listing_tabify', '__return_true' );
    

    The script uses jQuery-UI’s “tabs” functionality to implement the feature.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    This is not natively supported by my plugin 🙁

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Can you post the exact shortcode you added to your site using the forum’s code button in the editor area? Without seeing the exact shortcode you used I can only guess, but it might be that you set parent-post to a post’s slug instead of it’s ID. The parent-post parameter must be set to a post’s ID number.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    How is the slider added to the homepage? Are you using a specific plugin? Does the problem go away if you disable any caching layers applied to your site?

    The a-z-listing plugin should be self-contained. I don’t see any reason for it to be interfering with another unrelated plugin, so this is very unexpected.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    The plugin doesn’t do this natively. You can, however, hook into the filter a_z_listing_query using PHP to modify the query by adding the required parameters. Something like below might work when added to your theme’s functions.php file:

    add_filter( 'a_z_listing_query', 'add_user_to_a_z_query' );
    function add_user_to_a_z_query( $query ) {
        $query['author'] = 123; // Set to ID of a user
        // alternatively $query['author_name'] = 'Administrator'; // Set to a user's name
        // alternatively $query['author__in'] = array( 1, 2, 3, 4 ); // Set to multiple ID numbers of users
    
        return $query;
    }
    • This reply was modified 6 years ago by Dani Llewellyn. Reason: fix `author__in` array index
    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    To achieve this you will need to be able to program in PHP. There is a “filter” that sets which letter an item is indexed against: a_z_listing_item_index_letter. You will need to use $item to fetch the sub title using the methods provided by Advanced Custom Fields and match the correct letter from there. I do not know how to do this, because I have never used Advanced Custom Fields 🙂

    Plugin Author Dani Llewellyn

    (@diddledani)

    Did you write it exactly like you have above with spaces between the = and the words either-side? If so, try removing those spaces so that it looks like this:

    [a-z-listing display="posts" taxonomy="category" terms="benh"]
    

    Also make sure that the benh term exists as a category and that you have posts that you have assigned to that category.

    Note that the category taxonomy is not by-default applied to posts of the page post-type, which is the default post-type that the plugin displays. To display posts from the post post-type (wow, many “post”!) you need to add post-type="post":

    [a-z-listing display="posts" post-type="post" taxonomy="category" terms="benh"]
    
Viewing 15 replies - 196 through 210 (of 927 total)