helennatasha
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove border around content areaIn your stylesheet, replace
.module { box-shadow: 0 1px 2px rgb(0 0 0 / 10%); }
with
.module { box-shadow: none; }
Forum: Requests and Feedback
In reply to: Most important featuresYou might be confusing WordPress core features with features added by various plugins. For instance, the ‘Clone’ link below posts is added by a plugin called ‘Duplicate Post.’
Forum: Fixing WordPress
In reply to: WordPress superadminSuperadmin controls a multisite setup (One WordPress installation with many sites). Admin controls a single site. Bots crawl the net, posing as admins or superadmins, trying to hack into your site for various nefarious reasons, such as distributing malware, sending spam, setting up phishing sites. …
See this error in the console:
https://ibb.co/Fwr3LPJIt looks like WordPress has updated jQuery, but your theme is using old jQuery functions. Try adding this to your functions.php:
add_action( 'wp_enqueue_scripts', 'load_old_jquery_fix', 100 ); function load_old_jquery_fix() { if ( ! is_admin() ) { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', ( "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" ), false, '1.11.3' ); wp_enqueue_script( 'jquery' ); } }
What happens if you deactivate the Page-Links-To plugin?
Forum: Fixing WordPress
In reply to: Subsite in subfolder move imagesIf the image links are relative, use SFTP to copy the uploads folder to the wp-content folder of your subfolder. If the image links are absolute, then you won’t need to.
Forum: Fixing WordPress
In reply to: Landing Page / Cover PageMaybe your theme doesn’t have a page.php?? It should be in the main folder along with style.css and functions.php. Does the index.php have calls to get_header(), get_footer(), and get_sidebar()?
Forum: Developing with WordPress
In reply to: Adding a Shortcode to a ButtonGet the shortcode to return a button instead of a link. Google ‘how to run php code with html button’
e.g.
https://stackoverflow.com/questions/1697484/a-button-to-start-php-script-how- This reply was modified 3 years, 5 months ago by helennatasha.
Forum: Fixing WordPress
In reply to: Landing Page / Cover PageHow to do this would depend on what theme you’re using. But I would start by making a copy of page.php and calling it front-page.php. In this new page, remove the call to the get_sidebar() function.
Forum: Fixing WordPress
In reply to: Duplicate values in MySQL fields!As ID and commentID are different keys, it doesn’t matter that they have the same values. What is the issue you are having?
Forum: Fixing WordPress
In reply to: Import HTMLYou don’t need a plugin. You can do as follows:
Choose the ‘Classic’ block.
Click on the three vertical dots.
Select ‘Edit as HTML’.
Paste in your HTML code.
Click on the three vertical dots again.
Select ‘Edit visually’ to see the result.Forum: Fixing WordPress
In reply to: Missing images in posts after rebuild thumbnailsYou can set your thumbnail size in your dashboard at Settings > Media. The default is 150 x 150, but you can change this. Tick the ‘Crop thumbnail dimensions’ checkbox.
For any existing images to be affected by this, use a plugin called ‘AJAX Thumbnail Rebuild’:
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
After installing it, go to Tools > Rebuild Thumbnails.Forum: Fixing WordPress
In reply to: How to make website not availble to public?Ah ha, thanks, @gappiah!
add_action( 'login_form_bottom', 'add_register_lost_password_link' ); function add_register_lost_password_link() { return '<a href="/wp-login.php?action=register">Register</a><br><a href="/wp-login.php?action=lostpassword">Forgotten password?</a>'; } if(! is_user_logged_in()) { wp_die(wp_login_form(), 'This is the page title'); }
Forum: Fixing WordPress
In reply to: Size of Featured ImagesYou can set your thumbnail size in your dashboard at Settings > Media. The default is 150 x 150, but you can change this. Tick the ‘Crop thumbnail dimensions’ checkbox.
For any existing images to be affected by this, use a plugin called ‘AJAX Thumbnail Rebuild’:
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
After installing it, go to Tools > Rebuild Thumbnails.Forum: Fixing WordPress
In reply to: How to make website not availble to public?Add this code to functions.php:
add_action( ‘login_form_bottom’, ‘add_register_lost_password_link’ );
function add_register_lost_password_link() {
return ‘Register<br>Forgotten password?‘;
}if(! is_user_logged_in()) {
wp_die(wp_login_form(), ‘This is the page title’);
}