Support » Plugin: WP LIST PAGES BY CUSTOM TAXONOMY » reduce width of dropdown box

Viewing 1 replies (of 1 total)
  • Plugin Author piccart

    (@piccart)

    Hi Willem,

    sorry but I think I haven’t received any notification about this post..

    anyway, you could obviously change the title of the post, but you can also set the title to be cut off if it is longer than XX digits.

    if you edit the file pbytax_template.php
    on line 135 you will see:
    <?php echo $post->post_title ?>

    and you have to change that line with this:
    <?php echo substr( $post->post_title, 0, 25 ); ?>

    25 is the number of digits, including spaces. so you can change that number and put what works best for you.

    hope this would help
    cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘reduce width of dropdown box’ is closed to new replies.