• Resolved fneurieser

    (@fneurieser)


    Hello,
    is there an easy way to increase the number of shown buttons in the admin section?

    it shows up to 28 buttons a site, but I want to see all buttons on a site.

    regards
    Franz-Georg

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    There is no easy way to adjust this.

    Why do you need so many different designs though? Having this amount of buttons is a sign to see how you can use the shortcode maybe: https://maxbuttons.com/button-shortcode/

    Thread Starter fneurieser

    (@fneurieser)

    Hi,
    I have 28 buttons from a to z and 0-9 cause I need it as index to anchors for a glossary.

    on my opinion the number of shown buttons should be changeable.
    is there no way to determine this in the functions.php?

    Regards
    Franz-Georg

    Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    I wouldn’t call WordPress hooks to be easy, but to my surprise – no that’s not possible at the moment. I’ve logged it as a bug though, that should be possible.

    It would still seem easier to do it via shortcode:

    [maxbutton id=1 text=”A” url=”#A”]
    [maxbutton id=1 text=”B” url=”#B”]
    [maxbutton id=1 text=”C” url=”#C”]

    (etc)

    should perfectly work. This also decreases the page size since the styling doesn’t need to be repeated all the times.

    Thread Starter fneurieser

    (@fneurieser)

    Hi,

    thanks a lot for that solution. But it only works when using this shortcode:
    [maxbutton id=1 text=A url=#A]

    regards
    Franz-Georg

    • This reply was modified 4 years ago by fneurieser.
    Plugin Author Bas Schuiling

    (@basszje)

    Probably the “” shown here are wrong. You can use it like this, or when WP get’s confused use the regular ones on your keyboard

    [maxbutton id=1 text="A" url="#A"]

    ^^ in the code block it shows better

    Plugin Author Bas Schuiling

    (@basszje)

    Version 8.5 now has a filter hook for amount of items on a page. The more items, the slower however.

    add_filter('maxbuttons/list/num_items', function($limit) 
    		   {
    			  	return 50; 
    		   });
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Number of shown buttons in Admin section’ is closed to new replies.