yogeshyadav20
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to Delete Plugin DatabasePlugins Garbage Collector
Plugins Garbage Collector will scan and check your WP database to show the tables you can’t see in your WP dashboard.
-
Install and activate the plugin.
Look under the Tools tab for its settings.
-
Choose the Search non-WP tables option and click Scan.
The entries in red in the screenshot above belong to plugins that have deactivated or deleted. Check off these tables and delete them.
Forum: Fixing WordPress
In reply to: Create an account on CheckoutHi @legalmartin
What is your site url?
Forum: Fixing WordPress
In reply to: 404 not found – Dashboard Issues all menu selection goes to 404 pageHi @mike313
try to follow ->Login to your server using FTP, and modify the .htaccess file which is located in the same location where folders like /wp-content/ and /wp-includes/ are located. The easiest thing you can do is to temporarily make the file writeable by changing the permissions to 666. Then repeat the original solution. Don’t forget to change the permissions back to 660. You can also manually add this code in your .htaccess file:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
- This reply was modified 3 years, 4 months ago by yogeshyadav20.
Forum: Developing with WordPress
In reply to: Add class to Cover Background imageyou can do that like this
$(document).ready(function() { $('.page-slug').find('.img-id-or-class').addClass('no-lazy'); })
thanks
Forum: Fixing WordPress
In reply to: How do I get the right homepage in the menu?Remove this page form your menu setting and add newly created page in menu, that will fix your issue
Appearance >> Menus
Forum: Fixing WordPress
In reply to: The custom scroll bar creates problems with the Device menu.Forum: Fixing WordPress
In reply to: WordPress jetpack auto sharing on FacebookCould you please try it with switching to a default theme like Twentynineteen.
it’s very possible that the theme is adding its own OG tags in addition to the ones being added by Yoast, which would explain this error. Contact your theme support and ask if OG tags generated by the theme can be disabled,
Forum: Fixing WordPress
In reply to: WordPress jetpack auto sharing on FacebookHi @anandh123
try to follow this article, hope this will be helpful for you
https://www.themeum.com/automatically-share-wordpress-blog-posts-social-media/
Thanks
Forum: Fixing WordPress
In reply to: Cannot login into the wordpress after install login pluginHi @lukiwiki
Follow this article, this might be helpful for you
https://betterstudio.com/blog/cant-login-to-wordpress-admin/
and let me know if it’s
thanks
Forum: Fixing WordPress
In reply to: Disable browser back button after user logoutHi @sumeshis
Follow this article, this will be helpful for you
https://stackoverflow.com/questions/10511893/prevent-back-button-after-logout/10512947
thanks and let me know if it’s
Forum: Fixing WordPress
In reply to: Strange characters added to URLForum: Fixing WordPress
In reply to: Generate PREFIX numbers for postsYou can force the title and post name (slug) be whatever you like (that’s not already taken) through the ‘wp_insert_post_data’ filter. This would not be reflected on the editor screen though until the page reloads. To get the editor screen to default to the right title from the start will probably require JavaScript of some sort. The specifics depend on the editor being used. Even with an editor default, you’ll still need the ‘wp_insert_post_data’ enforcement so users cannot alter the title through the editor or through more nefarious means. You could use JS to make the title field read-only, but you still would want the ‘wp_insert_post_data’ enforcement in case someone is more nefarious in their efforts.
You’ll need to store the next available number as an option value and auto-increment it every time a new post is created. Doing so from the ‘wp_insert_post_data’ callback will work, but post insertion isn’t guaranteed at this point, so there could be gaps in the numbering if incrementing succeeds but post insertion does not. If sequential numbering is required, use a hook that fires after successful insertion, like “save_post_{$post->post_type}”.
Be sure you only set the title and increment the number for new posts, not for updates.
- This reply was modified 3 years, 4 months ago by Steven Stern (sterndata).
Forum: Fixing WordPress
In reply to: Removing Menu from 1 Page with CSSHi @kpitts838
Add this code in your functions.php
function htf_add_slug_body_class( $classes ) { global $wpdb, $post; if ( isset( $post ) ) { $classes[] = $post->post_name; } if (is_page()) { if ($post->post_parent) { $parent = end(get_post_ancestors($current_page_id)); } else { $parent = $post->ID; } $post_data = get_post($parent, ARRAY_A); $classes[] = $post_data['post_name']; } return $classes; } add_filter( 'body_class', 'htf_add_slug_body_class' ); function htf_static_body_class($classes) { $classes[] = 'hidden-bar-wrapper'; return $classes; } add_filter('body_class', 'htf_static_body_class');
this will add page slug as class in body, by using that class you can hide menu form that specific page
Thanks and let me know if it’s fine for you
Forum: Fixing WordPress
In reply to: WordPress MultilingualPlease read it’s docs
https://polylang.wordpress.com/documentation/
this will provide you solution related to your problems
Forum: Fixing WordPress
In reply to: Sticky image on WebsiteHI @exestend
What is your site url?