Title: newbiesup's Replies | WordPress.org

---

# newbiesup

  [  ](https://wordpress.org/support/users/newbiesup/)

 *   [Profile](https://wordpress.org/support/users/newbiesup/)
 *   [Topics Started](https://wordpress.org/support/users/newbiesup/topics/)
 *   [Replies Created](https://wordpress.org/support/users/newbiesup/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/newbiesup/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/newbiesup/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/newbiesup/engagements/)
 *   [Favorites](https://wordpress.org/support/users/newbiesup/favorites/)

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/newbiesup/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/newbiesup/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to show used tags on post?](https://wordpress.org/support/topic/how-to-show-used-tags-on-post-1/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-to-show-used-tags-on-post-1/#post-7637334)
 * Use `<?php the_tags();?>` to show the tags associated to a post.
 * You’ll need to add custom codes or install plugins to show like/view counts because
   these 2 are not integrated features with WordPress.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display last Modified date and time for entire website without plugin](https://wordpress.org/support/topic/display-last-modified-date-and-time-for-entire-website-without-plugin/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/display-last-modified-date-and-time-for-entire-website-without-plugin/#post-7365752)
 * It’s weird…it worked on my local environment….let me check
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display last Modified date and time for entire website without plugin](https://wordpress.org/support/topic/display-last-modified-date-and-time-for-entire-website-without-plugin/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/display-last-modified-date-and-time-for-entire-website-without-plugin/#post-7365710)
 * Add the 1st piece of code to your _functions.php_.
    The 2nd piece is the code
   to display the date, add it to where you want, let’s say on footer area, it usually
   goes to _footer.php_. Here is an example (I didn’t test it yet, use it on your
   own risk ;)):
 *     ```
       $lastModifed = get_option( 'lastModified' );
       if ( $lastModifed ) {
         $date =  $lastModifed['date];
         $post_id = $lastModifed['post_id];
   
         echo "Last Modified: ".date_format($date, 'Y-m-d H:i:s');
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Admin Login getting redirected to unknown site](https://wordpress.org/support/topic/admin-login-getting-redirected-to-unknown-site/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/admin-login-getting-redirected-to-unknown-site/#post-7368528)
 * I guess that’s caused by your theme or plugin which has altered the login direct
   URL.
 * Try to deactive all plugins and use the default theme and check if it’s still
   the problem
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display last Modified date and time for entire website without plugin](https://wordpress.org/support/topic/display-last-modified-date-and-time-for-entire-website-without-plugin/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/display-last-modified-date-and-time-for-entire-website-without-plugin/#post-7365586)
 * My idea is to add an option to store the last modified time and change it whenever
   a post/page is updated.
 * We can use the `save_post` filter to do this.
    Basically we check if the creation
   date equals to the modified date, if yes then the post should be newly created,
   if not, we update the option with the new array of latest modified date and latest
   modified post ID.
 *     ```
       add_action( 'save_post', 'save_last_modified_date', 10, 1 );
       function save_last_modified_date( $post_id ) {
       	 // If this is just a revision, do nothing.
       	if ( wp_is_post_revision( $post_id ) )
       		return;
   
       	$created_date = get_the_date( 'U', $post_id );
       	$modified_date = get_the_modified_date( 'U' );
   
       	$attr = get_option( 'lastModified', array() );
   
       	if ( $created_date !== $modified_date ) {
   
       		$attr['date'] = $modified_date;
       		$attr['post_id'] = $post_id;
   
       		update_option( 'lastModified', $attr );
       	}
   
       }
       ```
   
 * Then you can get the last modified date across the whole site by calling:
 *     ```
       $lastModifed = get_option( 'lastModified' );
       if ( $lastModifed ) {
         $date =  $lastModifed['date];
         $post_id = $lastModifed['post_id];
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP AJAX Login and Register] Redirect and logout url](https://wordpress.org/support/topic/redirect-and-logout-url/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/redirect-and-logout-url/#post-7210773)
 * Hi,
 * For now I don’t plan to add any settings to the plugin to avoid additional operation
   from the users, but the latest version does have a logout link if the user is
   logged in.
 * I will wait for more feedback from users and then see if it’s needed to get more
   settings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP AJAX Login and Register] How to enable registration ?](https://wordpress.org/support/topic/how-to-enable-registration/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/how-to-enable-registration/#post-7325806)
 * Hi,
 * You need to enable registration from the `Dashboard > Settings > General` and
   navigate to find the Membership tab, check the option “Anyone can register”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Sticky Menu] No Menu Btn on mobile screen size](https://wordpress.org/support/topic/no-menu-btn-on-mobile-screen-size/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/no-menu-btn-on-mobile-screen-size/#post-7289731)
 * Hi,
 * You should change the CSS file.
    A safe way is to add a piece of custom styles
   in a child theme instead of directly editing the plugin file.
 *     ```
       @media screen and (max-width: 910px)
       .wpsm-toggle, .wpsm-menu-toggle {
           display: none;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP AJAX Login and Register] Unhook (or remove) Menu Link](https://wordpress.org/support/topic/unhook-or-remove-menu-link/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/unhook-or-remove-menu-link/#post-7277344)
 * hmmmm..nice try…
    I’ll add an option to disable the “auto” feature.
 * For now, I think you just hook it to a non-existing menu location and it should
   work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Random Button] Can I Exclude Category?](https://wordpress.org/support/topic/can-i-exclude-category/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/can-i-exclude-category/#post-7102620)
 * Hi,
 * Did you update the plugin to the latest version? You can now exclude or include
   certain categories with the `nocat` or `cat` attributes.
 * For example: `[wp_random_button cat="1,2", nocat="3"]`
    Separate multiple IDs
   by comma
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP AJAX Login and Register] Unhook (or remove) Menu Link](https://wordpress.org/support/topic/unhook-or-remove-menu-link/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years ago](https://wordpress.org/support/topic/unhook-or-remove-menu-link/#post-7277278)
 * Hi,
 * This plugin by default add the login/register link to the “primary” menu location
   and you can alter the location with the hook you posted.
 * You may need to check the existing menu locations registered by your theme normally
   you can find it in your `functions.php`. It looks like:
 *     ```
       register_nav_menus( array(
       		'primary' => __( 'Primary Menu' ),
       		'footer'  => __( 'Footer Primary Menu' ),
       		'social'  => __( 'Social Links Menu' ),
       	) );
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comment "submit" button is gone.](https://wordpress.org/support/topic/comment-submit-button-is-gone/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/comment-submit-button-is-gone/#post-7228211)
 * Hi,
 * I just checked the url you posted and there is a ‘Post Comment’ button there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Sticky Menu] Show sticky menu only when passed scroll position](https://wordpress.org/support/topic/show-sticky-menu-only-when-passed-scroll-position/)
 *  Plugin Author [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/show-sticky-menu-only-when-passed-scroll-position/#post-7093378)
 * Hi, for now there is no such settings, but maybe in future updates I’ll add it.
   Thank you for using the plugin
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can not upload Feature Image in page or post](https://wordpress.org/support/topic/urgent-can-not-upload-feature-image-in-page-or-post/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/urgent-can-not-upload-feature-image-in-page-or-post/#post-7184614)
 * Try to disable all plugins and switch to default theme.
    Then active them one
   by one to check if it’s caused by a plugin/theme
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [No comment option](https://wordpress.org/support/topic/no-comment-option-1/)
 *  [newbiesup](https://wordpress.org/support/users/newbiesup/)
 * (@newbiesup)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/no-comment-option-1/#post-7104195)
 * In addition to check comment settings for each individual post as [@neotechnomad](https://wordpress.org/support/users/neotechnomad/)
   mentioned above, you should also check the theme file if it supports comment.
   By default there should be a comment function there like
    `<?php comment_form();?
   >`

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

1 [2](https://wordpress.org/support/users/newbiesup/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/newbiesup/replies/page/2/?output_format=md)