Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gregstoltz

    (@gregstoltz)

    # BEGIN WordPress
    # The directives (lines) between <code>BEGIN WordPress</code> and <code>END WordPress</code> are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    # BEGIN cPanel-generated php ini directives, do not edit
    # Manual editing of this file may result in unexpected behavior.
    # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    <IfModule php7_module>
    php_flag display_errors Off
    php_value max_execution_time 60
    php_value max_input_time 90
    php_value max_input_vars 2000
    php_value memory_limit 128M
    php_value post_max_size 250M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
    php_value upload_max_filesize 256M
    php_flag zlib.output_compression Off
    </IfModule>
    <IfModule lsapi_module>
    php_flag display_errors Off
    php_value max_execution_time 60
    php_value max_input_time 90
    php_value max_input_vars 2000
    php_value memory_limit 128M
    php_value post_max_size 250M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
    php_value upload_max_filesize 256M
    php_flag zlib.output_compression Off
    </IfModule>
    # END cPanel-generated php ini directives, do not edit
    
    # BEGIN ShortPixelWebp
    # The directives (lines) between <code>BEGIN ShortPixelWebp</code> and <code>END ShortPixelWebp</code> are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    # END ShortPixelWebp
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php73” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    
    <IfModule mod_expires.c>
      ExpiresActive On
    
      # Images
      ExpiresByType image/jpeg "access plus 1 year"
      ExpiresByType image/gif "access plus 1 year"
      ExpiresByType image/png "access plus 1 year"
      ExpiresByType image/webp "access plus 1 year"
      ExpiresByType image/svg+xml "access plus 1 year"
      ExpiresByType image/x-icon "access plus 1 year"
    
      # Video
      ExpiresByType video/mp4 "access plus 1 year"
      ExpiresByType video/mpeg "access plus 1 year"
    
      # CSS, JavaScript
      ExpiresByType text/css "access plus 1 month"
      ExpiresByType text/javascript "access plus 1 month"
      ExpiresByType application/javascript "access plus 1 month"
    
      # Others
      ExpiresByType application/pdf "access plus 1 month"
      ExpiresByType application/x-shockwave-flash "access plus 1 month"
    </IfModule>

    public_html/wp-content/cache/autoptimize/.htaccess

    <IfModule mod_expires.c>
            ExpiresActive On
            ExpiresByType text/css A30672000
            ExpiresByType text/javascript A30672000
            ExpiresByType application/javascript A30672000
    </IfModule>
    <IfModule mod_headers.c>
        Header append Cache-Control "public, immutable"
    </IfModule>
    <IfModule mod_deflate.c>
        <FilesMatch "\.(js|css)$">
            SetOutputFilter DEFLATE
        </FilesMatch>
    </IfModule>
    <IfModule mod_authz_core.c>
        <Files *.php>
            Require all denied
        </Files>
    </IfModule>
    <IfModule !mod_authz_core.c>
        <Files *.php>
            Order deny,allow
            Deny from all
        </Files>
    </IfModule>
    ErrorDocument 404 /wp-content/autoptimize_404_handler.php
    Thread Starter gregstoltz

    (@gregstoltz)

    The developer isnt available and I need it done before Friday. Im trying to do it myself so Id appreciate some guidance 🙂 I have already tried replacing the content-single-product.php file with the woocommerce template but that didnt help.

    Thoughts on how to fix it?

    Thread Starter gregstoltz

    (@gregstoltz)

    It looks great! Thanks!

    Thread Starter gregstoltz

    (@gregstoltz)

    So I see the names at the bottom of the page now, but I am not getting the pagination unless the code that I am using is incorrect

    Visual Editor widget in page builder
    [strong per_page=”3″ nav=”before,after” newest title]
    [client]
    [field name=”client_name” class=”name”]
    [field name=”company_name” url=”company_website” class=”company” new_tab]
    [/client]
    [/strong]

    CSS

    /* Pagination
    ———————————————–*/
    .strong-container ul.simplePagerNav {
    display: block;
    margin: 1em auto;
    padding-left: 0;
    text-align: center;
    }

    .strong-container ul.simplePagerNav li {
    display: inline;
    list-style: none;
    margin: 0;
    }

    .strong-container ul.simplePagerNav li * {
    transition: all .3s ease;
    }

    .strong-container ul.simplePagerNav li.currentPage a {
    text-decoration: none;
    }

    .strong-container ul.simplePagerNav li a {
    border: 1px solid #fff;
    border-radius: 4px;
    color: #95bbca;
    display: inline-block;
    font-size: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    text-decoration: none;
    width: 1.5em;
    }

    .strong-container ul.simplePagerNav li a:hover {
    background: #026ea0;
    color: #FFF;
    }

    .strong-container ul.simplePagerNav li.currentPage a {
    background: #96bbca;
    color: #FFF;
    }

    Thread Starter gregstoltz

    (@gregstoltz)

    Thanks 🙂

    Thread Starter gregstoltz

    (@gregstoltz)

    It is going well, I only have one issue in that there is only one item showing per page and the first page is blank right now. How do I change this?

    Also thanks for the very quick reply!

Viewing 6 replies - 1 through 6 (of 6 total)