• Resolved kkriss

    (@kkriss)


    I can’t install the plugin from nor with the WP dashboard or with loading from a folder, but only with FTP (I paste the plugin in wp-content/plugins as I’m on a local installation). I would like to have a setup section with parameters like the beginning number if different from 1, the position (below all the posts on the right), some text before the number (“Post no.” 1, font, so that I don’t have to write no php and no css, or, at least the plugin should create a class I can modify in the css. Thanx

    https://wordpress.org/plugins/sequential-post-number-display/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author The Grey Parrots

    (@greyparrots)

    Kindly use this code to display the sequence number.

    <?php echo get_post_meta($post->ID,'incr_number',true); ?>
    Thread Starter kkriss

    (@kkriss)

    I was using the shortcode and it worked even if I don’t want to add it manually in each post, but the code <?php echo get_post_meta($post->ID,’incr_number’,true); ?> don’t display anything.

    Plugin Author The Grey Parrots

    (@greyparrots)

    Sorry My wrong, kindly use this one.

    <?php echo get_post_meta(get_the_ID(),'incr_number',true); ?>
    Thread Starter kkriss

    (@kkriss)

    No success πŸ™

    Plugin Author The Grey Parrots

    (@greyparrots)

    It will display in reverse order.

    May I know what are you looking for?

    Thread Starter kkriss

    (@kkriss)

    Sorry, my fault. The number is ok, but I need to move it and actually I can’t, and then formatting it. Also, I have to add number only for certain categories of posts (2 custom post types) so that I need an include. Please see an image of that in another site of mine. Thank you

    http://www.angiolettochecucina.it/number.html

    Plugin Author The Grey Parrots

    (@greyparrots)

    In that case you have to write conditional statement to display the number for certain category. Kindly let me know if I can help you in that code.

    Thread Starter kkriss

    (@kkriss)

    Unfortunately I’m not a programmer πŸ™ and my php and css knowledges are very poor. Could you kindly add conditional statements and css changes as WP plugin parameters? I’m sure this will be very useful for many other users, thanks.

    Plugin Author The Grey Parrots

    (@greyparrots)

    I cant add conditional Statements. I don’t know how user wants it to display, like in your case in specific categories.

    Thread Starter kkriss

    (@kkriss)

    With plugin parameters users could choose if displaying all categories (e.g.-1) or an array (e.g.2,5,11). Users probably need to choose post categories because of blog normal posts and custom post types which probably only need to numbered.

    Plugin Author The Grey Parrots

    (@greyparrots)

    I kept this in my mind. Will try to incorporate in my next development phase.

    Thread Starter kkriss

    (@kkriss)

    Thanks so much πŸ˜‰

    Plugin Author The Grey Parrots

    (@greyparrots)

    I am marking this as resolved.

    Will let you know as soon as I include that feature.

    Thread Starter kkriss

    (@kkriss)

    You think it will happen soon? My client is in a little hurry … πŸ™

    Plugin Author The Grey Parrots

    (@greyparrots)

    It will take some time, I have to create the list of features and after completing our current assignment, will work on this one.

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Installation and layout’ is closed to new replies.