Forum Replies Created

Viewing 15 replies - 451 through 465 (of 927 total)
  • Forum: Plugins
    In reply to: [A-Z Listing] PHP Error 68
    Plugin Author Dani Llewellyn

    (@diddledani)

    You are using a different plugin. This plugin is called a-z-listing but you are referencing one called az-index.

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m glad you found the solution 🙂

    Please come back and open a new topic if you have any more questions or I can assist further…

    (I’m marking this topic as resolved for now)

    Plugin Author Dani Llewellyn

    (@diddledani)

    Removing the rule is one way to correct the issue, but there are others too.

    You can also try to override the incorrect rule by setting:

    .letter-section ul.columns li {
        width: initial;
    }

    Add this to your custom CSS and I think it will override the universal.css appropriately to set the list items back to their default size.

    CSS rules are applied from top to bottom in sequence. The value initial in CSS means reset to “Browser default”. Any alterations to the width by any other CSS that is loaded before the rule with initial will be discarded and the value reset to its original browser default. Any CSS changing the width that comes after this rule will not be reset.

    Plugin Author Dani Llewellyn

    (@diddledani)

    @makeupedia,

    Yes, it is. The above suggestions should now all work correctly (once you correct for my mistyping of post_cat which should be category.)

    You used the word “category” suggesting that you are referencing a term in the taxonomy called “categories” but then named your term “brands” which is an aggregate name suggesting that it should be a taxonomy. I know that it’s confusing.

    “Categories” is a “Taxonomy” and it contains “Terms” with each called “A Category”. Likewise “Tags” is another “Taxonomy” containing “Terms” each term being called “A Tag”.

    My plugin can work with either the terms from a hierarchical subset of the “Categories” taxonomy, which I suspect is your situation, or it can show the terms from a complete taxonomy.

    For a subset of the Categories taxonomy you want:

    [a-z-listing display="terms" taxonomy="category" parent-term="42"]
    

    The number in parent-term is a Term ID and must be replaced with the ID of the term (category) you named “Brands”, and all the terms (categories) you want in the A-Z listing need to be nested beneath Brands.

    For a complete taxonomy you want:

    [a-z-listing display="terms" taxonomy="brands"]
    

    The name brands needs to be the “slug” of the taxonomy containing the terms you want in the listing. I have provided a suggestion of “brands” which might be correct for your site but equally, it might not.

    Plugin Author Dani Llewellyn

    (@diddledani)

    This is due to your override of the CSS in /wp-content/uploads/oxygen/css/universal.css.

    You have a rule that reads as follows:

    .letter-section ul.columns li {
        margin-bottom: 15px;
        width: 450px;
    }

    This forces the width of the list to 450px independent of how big the viewport is. You could try amending it slightly with this:

    .letter-section ul.columns li {
        margin-bottom: 15px;
        width: 450px;
        max-width: calc(100vw - 60px);
    }

    Though a better choice would be to override the plugin’s inbuild styles which reference the following selectors with enforced widths:

    • .letter-section ul.columns.max-1-columns Enforces max-width to the size of 15.6em to correlate with 1 column’s width set in the next selector. There are several of these counting up to .letter-section ul.columns.max-14-columns. The values are the number of columns multiplied by 15em and then 0.6em added on top for padding.
    • .letter-section ul.columns Enforces the column-width to 15em.
    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m not sure that is related to my plugin. Perhaps it is a menu setting somewhere else that was causing those links?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    You can achieve this with the theme customiser’s “custom CSS” feature. You will want to add a rule similar to:

    .letter-section ul.columns {
        column-width: 15em;
    }

    Change 15em with your preferred width for each column. The default is 15em so you could try something like 20em to begin with. The size of an em is relative to your font size, so it likely varies between sites.

    Forum: Plugins
    In reply to: [A-Z Listing] Error 503
    Plugin Author Dani Llewellyn

    (@diddledani)

    I can’t see anything in the log you posted that would explain the problem. Do you have a separate PHP log anywhere that might include some more information?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    I just checked the link you posted, but can’t see the behaviour that you describe. Did you revert the page after you posted (to enable you to continue developing the site)?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Could you elaborate a bit more on the failure? What was code supposed to output? What did it show instead? Was the page blank or incomplete? Did you get a “500 server error” response? Any other unusual behaviour?

    I’m sorry that this reply isn’t immediately answering your problem…

    Plugin Author Dani Llewellyn

    (@diddledani)

    The second image is similar to other people’s sites where they’ve put the shortcode into a page builder’s preformatted text area instead of a normal text area. This puts <pre> around the output which breaks the layout. Try checking whether your listing is wrapped inside a <pre> tag.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    I’m really sorry this took me so long to get to; I mislaid the note to follow up and work on this 🙁 Thanks for giving me a prod…

    The good news is I’m rolling version 2.1.4 right now which fixes your issue 🙂

    Forum: Plugins
    In reply to: [A-Z Listing] Error 503
    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    For 503 errors, there is likely some information as to the nature of the error in your server’s error log. Could you see if you have access to such a log and post any lines from the time you try loading the page that results in the error?

    Regarding the size of the list, this might be an issue. The plugin itself does not impose any artificial limits on the number of items in the list, but your server will impose memory and time-based limits. It could be that the size of your list is causing PHP to run out of memory or take too long to execute and gets killed because of one or other of these. If PHP is being killed because of either of these limits it would also be indicated in the error log.

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’ll mark this post as resolved for now then. Please come back if I can help further 🙂

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’ll mark this as post resolved then.

    Please come back if you need any more input 🙂

Viewing 15 replies - 451 through 465 (of 927 total)