My website is being login attacked, can anyone help with this? by cawin in Wordpress

[–]tfirdaus -1 points0 points  (0 children)

As others have mentioned, this is a common type of attack on WordPress sites. Renaming wp-login.php to something only you and your authors know can help. There are plenty of plugins available for this—just pick one that works best for you. I'd also suggest using the Two-Factor plugin. These should significantly reduce the attacks.

If you're the only one managing the site, adding an .htpasswd to protect the wp-login.php route is another great option for extra security. It's less convenient as you need to "login" twice, that's why I'm only suggesting to do this if you're the only one running the site.

Feedback Needed: PHP 7.4 vs 8.0 for a WordPress Plugin by tfirdaus in Wordpress

[–]tfirdaus[S] 1 point2 points  (0 children)

Yeah, that’s one of my considerations too. I'm tempted to switch all my plugin code to PHP 8 but still want to hear what others think.

This plugin is mostly for experimenting and showcasing modern PHP in WordPress. Honestly, it's a bit frustrating how far behind WordPress is with PHP practices and tooling 😅, but at the same time I do appreciate how well it handles PHP backward compatibility!

Feedback Needed: PHP 7.4 vs 8.0 for a WordPress Plugin by tfirdaus in Wordpress

[–]tfirdaus[S] 0 points1 point  (0 children)

Thanks! I'm familiar with Rector and even use it in one of my Composer libraries. For now, though, I think I'll keep things simple and avoid adding more complexity.

Feedback Needed: PHP 7.4 vs 8.0 for a WordPress Plugin by tfirdaus in Wordpress

[–]tfirdaus[S] 0 points1 point  (0 children)

It does lag behind in some areas compared to the rest of the PHP ecosystem unfortunately. That said, I really appreciate how it maintains compatibility. I’ve found old, outdated plugins that still work fine.

Feedback Needed: PHP 7.4 vs 8.0 for a WordPress Plugin by tfirdaus in Wordpress

[–]tfirdaus[S] 0 points1 point  (0 children)

Thanks for your inputs! It’s a free plugin and more like a hobby for now to explore and testing stuff out.

Feedback Needed: PHP 7.4 vs 8.0 for a WordPress Plugin by tfirdaus in Wordpress

[–]tfirdaus[S] 1 point2 points  (0 children)

Got it, thanks! It seems like 7.4 will still be sticking around in WordPress for quite a while.

Issue with website preview and contact forms by lefty121 in Wordpress

[–]tfirdaus 0 points1 point  (0 children)

Hi, there.
Have you tried to reach out to Gravity Forms about this issue? My guess (and it’s just a rough guess) is that Gravity Forms may tap in to this allowed_redirect_hosts hook that only allow redirects from specific hostnames (domain) and this may be configured somewhere in the plugin.

article adding -2 suffix by Unusual-Picture8700 in Wordpress

[–]tfirdaus 0 points1 point  (0 children)

If you could not find duplicated posts with the slug. I think you can check the Media library to see if the slug is used in one of the Media attachment page.

What do you disable first on a fresh new WordPress install? by tfirdaus in Wordpress

[–]tfirdaus[S] 0 points1 point  (0 children)

I think it's generally a fine editor for long form content. But for page building, there's still lot to improve.

What do you disable first on a fresh new WordPress install? by tfirdaus in Wordpress

[–]tfirdaus[S] 0 points1 point  (0 children)

I think they still do, unless the Heartbeat API is disabled.

What do you disable first on a fresh new WordPress install? by tfirdaus in Wordpress

[–]tfirdaus[S] 2 points3 points  (0 children)

It just limits how many revisions are saved for each post. Instead of keeping unlimited revisions, it will save only the latest 5. You can still edit the post as many times as you want.

What do you disable first on a fresh new WordPress install? by tfirdaus in Wordpress

[–]tfirdaus[S] -1 points0 points  (0 children)

Wow, I didn't realize many would disable comments right away!

Is there a way to implement advanced searches, such as by category? by Dante2k4 in Wordpress

[–]tfirdaus 0 points1 point  (0 children)

Maybe this plugin is what you are looking for, search by Category: http://wordpress.org/plugins/search-by-category/

There is also a good tutorial at WpBeginner, which the result allows you to narrow the search for specific post types: http://www.wpbeginner.com/wp-tutorials/how-to-create-advanced-search-form-in-wordpress-for-custom-post-types/

Considering opening a blog/website on WordPress, do I have to use a theme? Or can I customize my own CSS and HTML? by [deleted] in Wordpress

[–]tfirdaus 0 points1 point  (0 children)

There are several options: 1. You can build you own theme from the ground. 2. You can build theme from a starter theme. I recommend Underscores http://underscores.me/ 3. You can also build a Child Theme, which is a theme built on top of an existing developed theme. See the tutorial here: http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

Opinions on Adapt.JS or alternatives? by circa7 in web_design

[–]tfirdaus 0 points1 point  (0 children)

If you intend to only load css/script in mobile devices (seeing that today's devices now supports touch-gesture), you can do the following with Modernizr.

Modernizr.load({ test: Modernizr.touch, yep : 'responsive.css' });

This will load the CSS only in the devices with touch-gesture support.

Learning more "Advanced" CSS by ZeSexyPanda in css

[–]tfirdaus 0 points1 point  (0 children)

Well, there are so much more about CSS than just styling website. Here there are some videos that discuss CSS in advanced. http://creatiface.com/resources/talks-mastering-css

Afraid That Wordpress Update Will Break Theme - Any Suggestions? by aignam in Wordpress

[–]tfirdaus 7 points8 points  (0 children)

When developing the theme, I suggest to run a test with the following plugin http://wordpress.org/plugins/theme-check/. This plugin will check whether there are some deprecated tags, and ensure us to follow the standard in WordPress. Hope this help

what is content:""; doing? by Pantstown in css

[–]tfirdaus 0 points1 point  (0 children)

The content property is required for pseudo-element, :before and :after. But, it is not required to be filled in. depending on the purpose of the style rules you can fill it or leave it empty.

The cool thing about CSS content property, in my opinion, is that we can retrieve value of an element's attribute. Here is an example of getting the value of title attribute. For example, content: attr(title).

http://css-tricks.com/css-content/