Victor Font

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 46 total)
  • Author
    Posts
  • in reply to: how to load a static HTML page as a landing page? #122724

    Victor Font
    Participant
    Post count: 70

    You can copy the basic HTML into a WordPress page and load the css and any JavaScript through your functions.php file. You need to register and enqueue the scripts.

    in reply to: How to speed up my Genesis powred blog #120441

    Victor Font
    Participant
    Post count: 70

    Take a look at your site through GTMetrix.com. It analyzes your site with Google PageSpeed and Yahoo YSlow. Your site scores a B and C in each process respectively. There are quite a few suggestions for speeding your site. Some of them are server related, which may be beyond your control or adjustable through .htaccess. Another big one is optimizing your images. There are plenty of free tools available for optimizing images. You may need to take advantage of them.

    in reply to: Is Autoptimize a Worthwhile Plugin? #117985

    Victor Font
    Participant
    Post count: 70

    I have not used both together. I’ve also heard good things about WP Rocket. I’m starting to take a look at that now. http://wp-rocket.me/

    in reply to: How do I remove this text from header #117723

    Victor Font
    Participant
    Post count: 70

    Line 1764 in your theme’s styles.css. The line reads: background: url(‘images/logo.png’) no-repeat left;

    It’s a logo from your theme’s image directory. Just comment out the line:

    // background: url(‘images/logo.png’) no-repeat left;

    in reply to: Do you use built in editor? #116637

    Victor Font
    Participant
    Post count: 70

    I only use the built-in editor on rare occasions, usually when I don’t have access to FTP.

    in reply to: Post Pagination Not Working #115775

    Victor Font
    Participant
    Post count: 70

    I have a few StudioPress themes where post pagination doesn’t work out of the box. I wrote this tutorial to explain what to do to get it working.: http://victorfont.com/paginate-post/

    in reply to: Outreach Search Bar #115120

    Victor Font
    Participant
    Post count: 70

    I think you should look at this post. It provides your answer: http://www.studiopress.com/forums/topic/missing-navigation-extras-dropdown-menu-magazine-pro/

    in reply to: How to configure entity tags? #115115

    Victor Font
    Participant
    Post count: 70

    If you are on Apache, adding the following to your site’s .htaccess file will take care of the eTag issue:

    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)(\.gz)?$">
    ExpiresDefault A29030400
    Header unset ETag
    FileETag None
    </FilesMatch>
    in reply to: How To Get Images The Right Size In Generate Pro #115114

    Victor Font
    Participant
    Post count: 70

    Did you regenerate your thumbnails after installing the new theme? The images used in the demo are 700 x 300 thumbnails. The image used in your is an original size image. There are no dimensions on it.

    in reply to: How to use Content Box in various Studiopress themes? #114824

    Victor Font
    Participant
    Post count: 70

    Here’s an article in this site’s blog by Brian Gardner that explains how to handle content boxes: http://www.studiopress.com/design/colored-content-boxes-buttons.htm

    in reply to: Issues after PHP Upgrade from 5.2 to 5.4 #114635

    Victor Font
    Participant
    Post count: 70

    Chances are that your host is installing the new version of php in its default configuration. In newer versions of php, default configurations have shortcuts and quite a few modules turned off. Also, over the past few years a number of once mainstream function calls have been deprecated in favor of modern renditions.

    I just went through this exercise for a client who has an extensive php application written over 10 years ago. She is switching to a new hosting environment where the latest version of php has been installed. In the new environment, her code wouldn’t run. The first problem I found was that the original developer used massive amounts of php shortcuts. A php shortcut is where the developer starts a php call with just <? instead of <?php. When code is written this way with shortcuts turned off, the code won’t execute. Another problem I found was that the old code used deprecated functions. Many of the database functions were being initialized using my_sql calls instead of the modern, preferred my_sqli.

    There’s a way that you can test for what’s going on without getting your host involved. You can download a default php.ini file and save it to your installation’s root directory. Then you need to force Apache to use that php.ini file by adding the following code to the very top of .htaccess:

    suPHP_ConfigPath /home/<your-path>/public_html
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>

    From there you can tweak settings to see what works and what doesn’t. Turn on shortcuts first, then activate modules to see if you can get things working. I would recommend turning on php errors so you can see where the code is bombing. It’s a lot of work, but you should be able to find and solve the problem with whatever plugin(s) is causing the issue. I say plugin(s) because I think Genesis and WordPress are too well coded to cause these failures. If you have old plugins using deprecated functions, you may be out of luck.

    Regards,

    Victor
    Author of:
    The Ultimate Guide to the SDLC &
    Winning With WordPress Basics

    http://victorfont.com/

    • This reply was modified 2 months, 2 weeks ago by  Victor Font.
    • This reply was modified 2 months, 2 weeks ago by  Victor Font.
    • This reply was modified 2 months, 2 weeks ago by  Victor Font.
    • This reply was modified 2 months, 2 weeks ago by  Victor Font.
    • This reply was modified 2 months, 2 weeks ago by  Victor Font.
    • This reply was modified 2 months, 2 weeks ago by  Victor Font.
    in reply to: Outreach Search Bar #114628

    Victor Font
    Participant
    Post count: 70

    Here’s an article that teaches how to do it in Magazine Pro. Perhaps you can extrapolate and apply the technique to Outreach.

    http://sridharkatakam.com/logo-nav-left-search-right-magazine-pro/

    in reply to: horizontal line #114625

    Victor Font
    Participant
    Post count: 70

    I tested this using the built-in Firefox Inspect Element tool. I set the primary nav to width 100% and the border-bottom will extend across the page like you want.

    in reply to: apostrophe displays as – ' #114604

    Victor Font
    Participant
    Post count: 70

    What is your question?

    in reply to: horizontal line #114595

    Victor Font
    Participant
    Post count: 70

    I see the issue. You have the float: right in #nav .menu-primary, but the menu pads themselves are float: left in .genesis-nav-menu li. If you change that float to right for the list elements it will also affect your secondary nav and you will see a very strange after effect. The menu items will reverse themselves in the display. If you’re going to fix this, you’ll need to create a custom markup wrapper to float all the elements of the primary nav right and leave the secondary nav as you want it. Also, to correct the issue with the li items reversing order, you’ll have to change the primary nav so the menu items are in reverse order. Floating them right will then display them correctly.

Viewing 15 posts - 1 through 15 (of 46 total)