• Having upgraded to latest WordPress, cannot now set the year date or time for a post to expire. Assume that there is no further development on this which is a shame as it was a brilliant little plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • This is happening to me as well, the latest version of WP.

    That must be what my problem is, too.

    Solution is to add some css-style to the admin panel. I did that by adding the following code to the functions.php file

    add_action('admin_head', 'my_custom_style');
    
    function my_custom_style() {
      echo '<style>
    #expirationdate_year, #expirationdate_month, #expirationdate_day, #expirationdate_hour {
    width: initial;
    }
    
      </style>';
    }

    Thanks @opmaken!

    Thread Starter Alex H

    (@alex-h)

    Thanks @opmaken that solved the issue. New to WP – if there is a WP upgrade does the functions.php file get overwritten at all?

    Thanks

    No @alex-h, it is there for you to add custom functions to your build and is initially blank.

    Thanks Opmaken!

    Thank You!!!

    Alex H.

    Can you be more clear as to where the code goes. I can edit functions.php, just not sure where to put the fix code in all that mess.

    Also using a child template if that makes a difference…do I put the code in the child functions.php or the main template functions.php? Where in the code…top, bottom? Anywhere? This would be new for me so I don’t want to screw it up.

    Thanks!

    Randall

    @opmaken

    Can you be more clear as to where the code goes. I can edit functions.php, just not sure where to put the fix code in all that mess.

    Also using a child template if that makes a difference…do I put the code in the child functions.php or the main template functions.php? Where in the code…top, bottom? Anywhere? This would be new for me so I don’t want to screw it up.

    Thanks!

    Randall

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not working with latest WP’ is closed to new replies.