Forum Replies Created

Viewing 15 replies - 61 through 75 (of 133 total)
  • Your page takes a very long time to load, which is causing the browser warnings and “Page Unresponsive” errors you’re seeing.

    I analyzed the page load performance of your homepage, and see a variety of issues affecting page load. One of them is server latency, so if improved performance is critically important, you may want to consider upgrading your server resources or hosting package.

    You can additionally test your site with the Google PageSpeed Insights tool to see a list of issues affecting page load, as well as a list of suggestions for fixing/resolving those issues:

    https://developers.google.com/speed/pagespeed/insights/

    I haven’t personally used it, but the weForms contact form plugin (https://ww.wp.xz.cn/plugins/weforms/) has a free tier/option, which includes unlimited form submissions and requires a paid upgrade to connect with third-party APIs like Zapier, AWeber, Google Analytics, MailChimp and a variety of payment gateways. If these are not needed, this might be a good option.

    This free plugin includes built-in “entry limitations” functionality that seems to provide the functionality you’re looking for — limiting submissions and displaying a customized notification to users when the form limit has been reached.

    Additionally, here’s a step-by-step walkthrough I found for setting this up, originally posted in February of this year (I also checked, the plugin is compatible with the latest version of WordPress with an update just last week):

    https://wedevs.com/113912/form-expiration-entry-limitation-wordpress/

    By default, WordPress does not send email notifications when posts are created and submitted with a pending status.

    But there is a plugin for that! The most popular option for this seems to be ‘Pending Submission Notifications’ (http://ww.wp.xz.cn/plugins/pending-submission-notifications/)

    And just to be clear you’re using the correct user levels for this — the default permissions in WordPress allow users with contributor-level access to create posts and submit them for review. Then, an editor-level or administrator-level user account can see them in “pending” status, review, edit and publish them.

    With the plugin above, and using contributor-level user accounts, your WordPress site should provide the functionality you’re looking for.

    Here’s a quick walkthrough video I created outlining the ‘contributor’ user post workflow:

    Like most things related to WordPress development, there are more than one way to do this successfully. Are you currently using something to manage/create events on your WordPress site? If so, this may influence the form solution (the events solution you’re using may already have a form integration available that would work better than something else).

    I have done this before, for a Technology events startup, who needed to limit entries to specific events, and after a certain number of sign ups, inform users that they were being added to a waiting list (or with some events, simply disable further registration).

    The solution I chose leveraged gravity forms (a paid plugin) and gravity perks extension that limits entries (a paid extension).

    Some more information about this set up is here:

    https://gravitywiz.com/documentation/gravity-forms-limit-submissions/

    GF does have built-in form submission limiting, and this plugin could be extended exactly how you are looking for (with custom messaging after limits are reached, as well as routing emails to a different list or recipient based on limitation status, or even conditional business rules for submissions based on the limitation status) with some custom PHP and development effort, but I chose the paid plugin because the client was happy to have the issue resolved quickly.

    Along these lines, I think just about any form solution could be extended or customized to provide the functionality you’re looking for, and each approach would have advantages/disadvantages relative to your site and business needs, as well as varying levels of time and effort needed.

    Forum: Fixing WordPress
    In reply to: WP Admin login

    These are only warnings; you can turn these off by setting wp_debug to ‘false’ (in the wp-config.php file). This should look like:

    define( 'WP_DEBUG', false );

    Are you able to login, and when you do, you’re seeing these errors AND the WordPress backend area as expected (and you’re just looking for ways to remove these errors)? Or, are you not able to login at all?

    After you’re able to login successfully, you can reactivate wp_debug and look into resolving the issues referenced in those error messages (and the suggestions conveniently provide the specific issues to review and the corresponding line numbers in the actual code). But, I would not work on these updates on the live site — these updates should be done in a staging environment that you can test, confirm issues are resolved, and then push the updated code to your live site.

    My recommendation would be to turn wp_debug off, confirm your login is working and site is functioning as expected. Then, make a full backup of your site, use it to spin up a staging site that you can work with to make changes without risking performance on your live site, and after the site is updated and again working the way you want, disable wp_debug and migrate the updated version to replace the currently live version.

    For the “site not secure” warning, I am also seeing this. This is only because your site is currently loading without https, without an SSL set up and installed. There are a variety of ways to update this.

    Here is a nice step-by-step walkthrough for moving your WordPress site from http to https:

    https://make.ww.wp.xz.cn/support/user-manual/web-publishing/https-for-wordpress/

    I also see your site is hosted at 1&1 hosting, here is some specific information from your host regarding SSL and how to set this up on their servers:

    https://www.ionos.com/digitalguide/websites/website-creation/how-do-i-convert-my-site-to-ssl-and-https/

    Here are some typography best practices I usually recommend to clients:

    When making decisions as to which fonts and styles to use on a website, it’s important to establish a “visual hierarchy” of content that is both aesthetically pleasing and creates distinction between Headings, Subheadings and Body text. I also recommend using enough white space between blocks of text in an effort to promote an effortless reading (user) experience.

    Body text

    • The most common font size for Body text is 16px (or, better yet, 1em).
    • Avoid center-aligning your text, the uneven edges are jarring. I usually set the left and right margin of the text’s container to auto.
    • Justified text works great for newspapers, not websites.
    • Choose low-contrast fonts over high ones.
    • The optimal line-height of paragraph text is between 1.25–1.5× the font-size.

    Headings

    • The average font size for Heading text is somewhere around 36px (or, better still, around 2.25em).
    • Always prioritize readability and overall user experience. Make sure the headings are not too big or bold or otherwise overpowering.
    • That being said, you also need to make sure that your headlines meet readers’ expectations. Considerably larger text with ample spacing between its child paragraph signifies a change in subject matter, whereas smaller headlines much closer to paragraphs imply that the content is related.
    • In the event that your headline MUST wrap to the next line, the optimal line-height for headings is less than what it is for Body text.

    In general, I’d also be sure to not overdo it and use way too many fonts. I would say 2-3 fonts on any given page, including whatever font you may be using in your logo, is enough. Typically this means one font for headings, one font for body text and MAYBE another for subheadings.

    To your question about performance — the more fonts you use, the more resources your site and server have to load. There will absolutely be an impact on performance, so this is another reason to keep font choices very specific and limited. I’ve heard compelling arguments for and against serif/sans-serif/mixing serif fonts, and I think this is mostly a matter of personal preference. I would lean toward overall legibility and user experience — if certain fonts make your text easier to read, I would make decisions accordingly.

    I’m sorry for this recent loss.

    To update a user on your WordPress website, after logging in to the backend area with an administrator-level account, click on ‘Users’ from the left navigation. Then, find the user you want to update and click on it to edit. From this screen, update the name, email and password as needed. Then click the “Update User” button to save changes. You should see a success message: ‘User Updated’ at the top of the screen if the changes you made were successful.

    There should be no billing details required for your self-hosted WordPress site; you may be thinking of your web hosting account, which appears to be Blue Host.

    If you can’t find this login, you can always reach out to their customer support about updating your account and billing details:

    https://www.bluehost.com/contact

    To directly answer your question above, here is a quick video walkthrough of adding new users and updating an existing user on your site:

    The login page is loading for me:

    View post on imgur.com

    Can you try clearing cache, or accessing from an incognito browser?

    This custom CSS will remove the post dates from the homepage and from category pages:

    .post-meta .post-date {
        display: none;
    }

    Here is a screenshot:

    View post on imgur.com

    You don’t have to change the Function name. You can, as long as it’s the same in both places. Also, it does not matter where you add this function to your theme’s functions.php file. Sometimes you have to add a function before calling the filter, and a priority order, but it should not matter with this function.

    On testing, however, I see that I was mistaken on this functionality working for image galleries, it does not.

    To update the default image linking behavior for image galleries, please use this function:

    add_filter( 'shortcode_atts_gallery',
        function( $out ){
            $out['link'] = 'file'; 
            return $out;
        }
    );

    Here is an updated video outlining the new Function, and how it works with the default linking behavior for galleries on a new install of WordPress:

    • This reply was modified 7 years, 7 months ago by cleancoded.

    To update the default link type of images moving forward, you can do this by accessing your site options at yourdomain/wp-admin/options.php

    Scroll down and find the image_default_link_type field. You have 4 choices:

    1. none – This links back to the post it was uploaded to
    2. file – This links to the image file in your wp-content/uploads folder
    3. post – This links back to the post it was uploaded to
    4. attachment – This links to an attachment post generated by WordPress for all image files uploaded to a post

    You can also do this with a function in functions.php:

    function mytheme_setup() {
     update_option('image_default_link_type', 'file' );
    
    }
    add_action('after_setup_theme', 'mytheme_setup');

    Here’s a video I created that outlines how the Function above works and how to install on your WordPress site:

    On line 6, remove this:

    t1.meta_value as price,

    On line 18, change this:

    {$table_prefix}posts.ID ORDER BY if(prior = '' or prior is null,1,0), prior DESC, if(date = '' or date is null,1,0), date ASC, if(price = '' or price is null,1,0), price ASC,

    to

    {$table_prefix}posts.ID ORDER BY if(prior = '' or prior is null,1,0), prior DESC, if(date = '' or date is null,1,0), date ASC,

    I also replied on your pastecode link.

    There are many ways to restrict your subscribers to Maine residents only.

    If you’re using the Mailchimp for WordPress plugin (https://ww.wp.xz.cn/plugins/mailchimp-for-wp/) to build your subscribe forms, you could create a form that requires state or zip code, and by using a conditional tag, hide the subscribe button to anyone that fills out the form with a different state or incorrect zip code.

    Something like:

    <p>
        <label>State</label>
        <input type="text" name="state" required />
    </p>
    
    <p data-show-if="state:Maine">
        <input type="submit" value="Subscribe" />
    </p>

    Or for the zip codes idea:

    <p>
        <label>Zip Code</label>
        <input type="text" name="zip" required />
    </p>
    
    <p data-show-if="zip:03901|03902|03903">
        <input type="submit" value="Subscribe" />
    </p>

    Obviously, you’ll have to pull up a list of all Maine zip codes and add them to the form, in the pattern outlined above.

    Personally, instead of only allowing Maine subscribers to submit the form, I’d use a conditional tag to determine which Mailchimp subscriber list the person is added to. If a subscriber is a Maine resident, they get added to your primary list that you use to send out newsletters. If the subscriber lives anywhere else, they’re added to a list you use to only request donations.

    Do you still have the site files and database used to migrate the site to your current host? If so, you probably have what you need to roll back your site on your own. If not, you can reach out to your host to ask if they have a backup of the site at anytime before the automatic updates were made.

    In regard to the updates — custom-built WordPress plugins should not update automatically, so it’s probably just an issue of the custom plugin not being compatible with the latest version of WordPress, which may be easier to update than trying to find a backup file from your host. Or maybe not, it depends on what those plugins look like and the functionality they provide.

    I only bring that up because you mention you’re currently in the process of having your site rebuilt, and your current developers may be able to review and resolve the plugin incompatibility issues.

    I’m not immediately familiar with Enfold’s contact form, but it’s likely just utilizing a Javascript validation that could be edited (or replaced).

    Your site should also be able to use Contact Form 7, or any other form solution, if the plus sign validation is not available out-of-the-box with your current theme.

Viewing 15 replies - 61 through 75 (of 133 total)