Flint
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need Admin Access to Company SitesIf you have access to the php files, you could add a function like this to the childs theme
functions.php
:function create_admin_user_fn() {
$username = 'temp_admin';
$password = 'p4ssw0rd!';
$email_address = '[email protected]';
if ( ! username_exists( $username ) && ! email_exists( $email_address ) ) {
$user_id = wp_create_user( $username, $password, $email_address );
$user = new WP_User( $user_id );
$user->set_role( 'administrator' );
}
}
add_action( 'init', 'create_admin_user_fn' );Once added, you can login with the credentials and remove the function from
functions.php
.Forum: Plugins
In reply to: [Media Sync] Directory files not showing in Media LibraryHi Erol, thanks for the quick follow up!
Would it be wise to now import it again with that setting or need to undo something else first?
Looking forward to your feedback.Hi Mark,
Thanks for the follow up. Disabling the “Start scan remotely” did the trick.
Thank you!Thanks for the quick follow up!
I have implemented the code, and works as expected ?? Needs a little finetuning for visual appealing but that I can (try) myself.
Thanks again!Forum: Fixing WordPress
In reply to: Drop-down menu failing to openBased on my observation, the dropdown functionality appears to be functioning correctly. However, it seems that the issue lies in the background-color or color, which may not align with your expectations.
I recommend reviewing and adjusting your CSS, particularly in the global.css or main.min.css files, as both contain styles for the menu. If necessary, consider using ‘!important’ to ensure that the desired CSS takes precedence.- This reply was modified 1 year, 2 months ago by Flint.
Forum: Fixing WordPress
In reply to: How to disable trackbacks to pages?To disable trackbacks for pages in WordPress, you can use the following code snippet:
// Function to disable trackbacks for post types function disable_trackbacks_for_post_types() { foreach ( get_post_types() as $post_type ) { if ( post_type_supports( $post_type, 'trackbacks' ) ) { remove_post_type_support( $post_type, 'trackbacks' ); } } } // Add action to call the function on WordPress initialization add_action( 'init', 'disable_trackbacks_for_post_types' );
Add this code to your child-theme’s
functions.php
file or use a custom plugin. It will globally disable trackbacks for all post types, including pages. Test it in a safe environment before applying it to your live site. If you have further questions, feel free to ask!Forum: Fixing WordPress
In reply to: cannot access login pageTo begin with, it appears that the website in question (manford.co.id) is not built on WordPress. Consequently, it is expected that accessing the wp-admin may not be possible.
While I acknowledge the possibility of error, upon inspection, I did not identify any elements related to WordPress on your website.
Forum: Fixing WordPress
In reply to: [NSFW] How wordpress connect Cloud SQL’s MySQLPlease make sure the user ‘root’ is correct and that the user has all access to the database.
Hi?@wfpeter, please note that this issue is still not fixed. I still get the same error. I am using version 7.11.1.
Looking forward to your reply.Hi @wfpeter,
The issue is still there. Any update on this?Hi @wfpeter,
I just updated to this version but still encounter the same error.Forum: Plugins
In reply to: [SparkPost] Who maintains the Sparkpost plugin? Is it abandoned?Update: I just tested WP Mail SMTP, this has also an integration with SparkPost.
Forum: Plugins
In reply to: [SparkPost] Who maintains the Sparkpost plugin? Is it abandoned?Any update on this?
I see they updated the plugin 3 weeks ago but still not available to download.
Forum: Developing with WordPress
In reply to: zoom effect on picturesHi @sacconi,
That’s because of the padding and border-radius. To have the desired effect I recommend to not use padding and border-radius. For example, in your case:.post-thumbnail { overflow: hidden; height: 260px; display: block; } article .post-thumbnail img { transition: transform 0.3s ease; padding: 0 !important; border-radius: 0 !important; } article:hover .post-thumbnail img { transform: scale(1.1); }
Note, I used ‘!important’ to overwrite your current CSS.
- This reply was modified 1 year, 7 months ago by Flint. Reason: CSS update
Forum: Fixing WordPress
In reply to: image anchoring causes too many redirects errorI meant, you can I see your HTML code to analyse.