cleancoded
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: E-commerce and portfolio pluginsWelcome to WordPress! It sounds like a perfect fit for the project you are describing.
To start out with your best foot forward, I would recommend having a look through a variety of themes that support both ecommerce (with WooCommerce) and also provide portfolio functionality:
https://ww.wp.xz.cn/themes/tags/e-commerce+portfolio/
WooCommerce is an ideal option for selling merchandise on your site, and as your site grows, and as you need to add specific features or functionality to the ecommerce part of your site, there are many plugins and extensions that you can add that will help you extend functionality as needed. Of course, just like WordPress itself, it can scale and serve as the foundation for just about anything you might need to do in the way of selling online.
I think portfolio functionality will best support the functionality you’re looking for in displaying profiles and short bios of vaudeville performers.
Portfolios can be handled in a pretty wide variety of ways, but I’d say the most popular options are with the Jetpack plugin, which allows you to enable portfolio functionality (turn this on and it creates a “Portfolio” custom post type on your site) or with a theme that provides a similar “Portfolio” post type.
After you have the ability to add “Portfolio” items to the site, I would start adding performer content to the site, and see what custom CSS or customization the portfolio page template might need, if anything at all, to display the information perfectly.
Forum: Fixing WordPress
In reply to: WHEN I AM LOGGED AT DASHBORD CAN SEE LOGO AND BANERS ON WEB SITESounds like a caching issue. When you disable WP Rocket, are you able to see images as expected?
Forum: Fixing WordPress
In reply to: Security – beeing hackedThere are lots of security options and best practices in place for WordPress.
First, to address the suspected hacking, please carefully follow this guide.
When you’re done, you may want to implement some (if not all) of the recommended security measures.
Forum: Fixing WordPress
In reply to: Error editor functions.phpAre you able to upload/update plugins without FTP credentials from the WordPress backend area?
Assuming you can, here are a couple things you can do to troubleshoot the issue you are experiencing:
- Check theme permissions
If you’re running your site from shared hosting, you’re probably fine here. If you’re using VPS or Cloud hosting, make sure the user account that has access to the web server (Nginx or Apache HTTP) also has access to your theme files.
- Are you using any security plugins?
I know you said after disabling all plugins this issue persisted, but it’s a common cause of this error message, so it’s worth repeating to disable those while troubleshooting your backend access of the theme editor.
- Are you using cloud-based security WAF? Or Cloudflare?
If so, try disabling WAF, flush cache and try saving changes through the theme editor again. This can happened with Cloudflare, depending on your host and WAF settings, where Cloudflare WAF challenges (does not allow) “Update files” requests at the site level (like your WordPress backend dashboard).
You can access your Cloudflare firewall logs from your CF account dashboard. If you find this is the cause (you’ll see “challenge” under the “action taken” column), you can whitelist your IP in the Cloudflare WAF event details to resolve.
Forum: Fixing WordPress
In reply to: URL Expiry PluginsI’ve successfully used the “Post Expirator” plugin for similar use cases where a client needed a custom workflow for their content that became a specific age (several days after posts were published).
https://ww.wp.xz.cn/plugins/post-expirator/
With this plugin, you can set posts to automatically “expire” after a certain time passes, or date is reached, and then what happens to those expired posts. You can choose to have posts automatically change state, say published to private or trash, which would make the posts unavailable to your normal site visitors.
To change the URL, the plugin additionally allows you to replace categories, so assuming you are using category in your permalink slugs (Settings > Permalinks), I would think your URLs would also automatically update after posts expire.
Forum: Everything else WordPress
In reply to: CMS lacks in editorial controlYou’re right, this is not out-of-the-box functionality. Because WordPress is utilized to power any variety of different sites, in different verticals, all doing different things, it provides some basic functionality by default, while leveraging a framework that can be infinitely customized to suit your preferences and business needs. I feel this is actually one of the platform’s greatest strengths.
This being said, restricting editors’ access to specific pages is absolutely doable. Like most things related to WordPress development, there are many ways to do this.
I would personally utilize the “Capability Manager Enhanced” plugin, which is free in the ww.wp.xz.cn plugin repository:
https://ww.wp.xz.cn/plugins/capability-manager-enhanced/
After you install and activate this plugin, go to Users > Capabilities to configure plugin settings.
I found a blog post that provides some step-by-step instructions for setting up this plugin to provide the functionality it sounds like you’re looking for:
https://wpwarfare.com/allow-editors-only-edit-certain-pages-in-wordpress/
Forum: Fixing WordPress
In reply to: Most Common Shipping Plugin?I didn’t realize this was no longer included in WooCommerce Services, that’s a bummer.
After reviewing several options, including a couple premium plugins, the official USPS Shipping Method extension, which I realize is $79 for a single-site license, is probably the best option for calculating USPS shipping rates (depending on your business needs):
https://woocommerce.com/products/usps-shipping-method/
Here’s a video I created adding WooCommerce and the USPS Shipping Method plugin to a new sandbox install of WordPress:
Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.For me, the most common cause of a 403 Forbidden error is a corrupt .htaccess file. Verify this by downloading a copy of your current .htaccess file via FTP, so it’s easy to revert later on. Then, delete that file from your server. In an FTP program like FileZilla, right click on the .htaccess file and click “Delete.”
Now try accessing your homepage again. If it loads, this means you had a corrupt .htaccess file. You can generate a fresh file from the Settings » Permalinks page by clicking the “Save Changes” button at the bottom. If your homepage still does not load, you can upload the old .htaccess file back.
I mentioned testing the .htaccess file first simply because it’s the fastest and easiest thing to check. Because this issue happened after you activated a new theme, this sounds like the result of a theme or plugin conflict. If you can still access the admin dashboard, and you change the theme to a default theme, like Twenty Seventeen, are you able to load the homepage successfully?
If so, I would deactivate any plugins you installed and have activated and try activating the new theme again. If the homepage loads, you have a plugin conflict. Because this is a new install, you can just reactivate your plugins one by one until the homepage doesn’t load, to identify the conflict.
Otherwise, you could try installing the “Health Check” plugin (https://ww.wp.xz.cn/plugins/health-check/) which allows you to troubleshoot your site without affecting your normal visitors. Open your site in an incognito window to verify this.
Then, while in troubleshooting mode, from the Plugins page, click the “Enable while troubleshooting” for each plugin, one by one, to identify the conflict.
Forum: Fixing WordPress
In reply to: Duplicate posts with two url addressIf you want post ID to be included in post URLs, please update your permalink structure to something like:
/%post_id%-%postname%Forum: Fixing WordPress
In reply to: Most Common Shipping Plugin?Is this for a WooCommerce site?
Check out WooCommerce Services; it’s free, it syncs with USPS and works pretty well:
https://docs.woocommerce.com/document/woocommerce-services/For the custom product/shipping pricing for a specific item purchased by itself or with other items, you’re looking for “dynamic pricing,” which I’ve implemented a few times with this (premium) extension:
https://docs.woocommerce.com/document/woocommerce-dynamic-pricing/
If nothing else, this should get you pointed in the right direction for custom coding a solution if you’re looking to avoid a paid extension.
Forum: Fixing WordPress
In reply to: Moving Site to Different HostI typically use the “Migrate Guru” plugin for this; it’s free, very easy to use and will migrate your site quickly from its current host to any host you want. It also manages the data transfer entirely on their servers, for free.
It natively supports a variety of hosting providers, and any platform via cPanel or FTP, assuming you have the logins required.
Have a look here:
Forum: Fixing WordPress
In reply to: Malware Attack…Help!!It sounds like you may have already pursued some steps to resolving the malware issue, but I’d recommend carefully following this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.
Is the blank page you’re seeing a 500-server error?
Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to
/wp-content/themes/and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.If that does not resolve the issue, it’s possible that a
.htaccessrule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the.htaccessfile. If you can’t find a.htaccessfile, make sure that you have set your SFTP or FTP client to view invisible files.If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
Forum: Fixing WordPress
In reply to: Change colorAdd this to the “Additional CSS” area of the Customizer tool (Appearance > Customize > Additional CSS):
.entry-title, .entry-title a { color: #ff656b !important; }Forum: Fixing WordPress
In reply to: Wp-admin not loading upTry manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to
/wp-content/themes/and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).Forum: Fixing WordPress
In reply to: style.css version issuesOk, and are you using any kind of server-side caching, Cloudflare, or any type of caching plugins on the site? If you’re using a script combining plugin, this would need to get cleared out, too.
Most hosts additionally have a site cache, and some provide a way to flush that cache from the backend account area, can you also check that?
Here’s some more information about a variety of caches you may be contending with, and some tips for troubleshooting:
https://codex.ww.wp.xz.cn/I_Make_Changes_and_Nothing_Happens
- Check theme permissions