• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

coralseait

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 327 total)
1 2 3 … 15 16 17 →
  • Author
    Posts
  • July 14, 2017 at 9:26 pm in reply to: Genesis Intranet #209127
    coralseait
    Member

    As to the icons, it uses a combination of Font Awesome and Custom. FA is the preference, as there's so many and they keep adding them, but it can be a custom one. WP auto generates the Icon, and based on a set of ACF options you can include background circle / colour or not. The colours are based on the the TRC logo, so blue, then red, then green (Org, Role, User).

    There's a myriad of options when you set up what we call 'Intranet Item' - and the admins can pick and chose what to do (FA, or Custom, Background or Not, Tech Owner and Business owner of Item - this allows users to email questions about app / item to domain experts right from intranet).

    It also supports things like auto message on Wed (which is Patch Tuesday for Microsoft) to leave computers on to receive patches from WSUS (or whatever it is called now).

    There's a whole heap of features I can't really document, but I can say Genesis was and is a HUGE part in all this and it probably couldn't have happened without it.


    Coral Sea IT

    June 9, 2016 at 10:28 pm in reply to: Email obfuscator #187306
    coralseait
    Member

    CloudFlare will also do it, if you don't want the plugin path.

    Though generally, it's just not worth it to try; using a general email address to a gmail account is pretty darn good. Their filtering is excellent. Something like [email protected] often works really well.


    Coral Sea IT

    May 8, 2016 at 6:20 pm in reply to: WordPress Plugins For Sending Bulk Msgs to readers? #185239
    coralseait
    Member

    You should really use a tool like MailChimp; sending bulk directly from your site without properly setting up SPF / DKIM and adhering to strict mass emailing best practices is a sure way to have your site black listed / flagged as a spamming domain.


    Coral Sea IT

    May 3, 2016 at 10:39 pm in reply to: Renamed my WordPress DB and lost everything #184938
    coralseait
    Member

    [deleted due to duplicate, my bad]


    Coral Sea IT

    May 3, 2016 at 10:38 pm in reply to: Renamed my WordPress DB and lost everything #184937
    coralseait
    Member

    That seems to more indicate something is now wrong with htaccess or your virtual hosts config ... the 404 is the http server returning a response of not found. I'd expect a database connection error if there we're something wrong with the db settings per the db rename.

    Can you visit the site's root url ok?

    If you renamed the site / domain / url -- there's a bit more to do than just rename db and repoint the db.

    Also, if you post what guide or guides you followed we can better tell.


    Coral Sea IT

    May 3, 2016 at 8:35 pm in reply to: Renamed my WordPress DB and lost everything #184934
    coralseait
    Member

    Just to be clear, are you saying you renamed the actual MySQL db and pointed the site to in wp-config?

    Or are you saying you changed the site URL / Domain ? or Both?


    Coral Sea IT

    April 21, 2016 at 5:55 pm in reply to: How to make the featured image load first #184127
    coralseait
    Member

    visit gtmetrix, pingdom tools, or wep page speed test (or any others) -- all of them show the site performs really poorly from the host perspective. You can see in the waterfalls a lot of wait time.

    TTFB - Time to First Byte and Time to Full Render are pretty poor as well.

    No amount of image tuning is going to fix the problem, perhaps there's something up with your dreamhost instance or the wp install.


    Coral Sea IT

    April 21, 2016 at 4:56 pm in reply to: How to make the featured image load first #184120
    coralseait
    Member

    Who is your host? The site responds very slowly from a hosting perspective, you may do well to move to a much better host.


    Coral Sea IT

    March 28, 2016 at 10:18 pm in reply to: Meta Tags – I can'r figure it Out #182410
    coralseait
    Member

    For yoast, you have to enable meta tags:

    Dashboard --> SEO --> Titles & Metas --> Other Tab

    This will add the interface / area to input them. Then you add your tags depending on the type of content. Again, Dashboard --> SEO --> Titles & Metas ; each sub tab will now have a place for Meta Keywords Template

    You can set them for Post Types, Archives, etc AND/OR in the Yoast meta box on a per page / post basis.


    Coral Sea IT

    March 21, 2016 at 11:01 pm in reply to: Yoast – Schema #182002
    coralseait
    Member

    It'll be in a few possible files depending on your child theme. Basically anything in the template hierarchy or custom templates. For example, many of the child themes have a front-page.php and page-landing.php. If you make your own templates, it'll be the last line in the php file.


    Coral Sea IT

    March 15, 2016 at 4:28 pm in reply to: 500 Error on Website #181486
    coralseait
    Member

    This means you have a php syntax error; you'll need to correct whichever file you were editing. Likely through cPanel editor or FTP.

    There may be an error log depending on your host telling you which file and line is causing the problem.


    Coral Sea IT

    March 2, 2016 at 7:06 pm in reply to: (Digital Pro) why social media icon in the footer does not appear #180489
    coralseait
    Member

    We've seen this quite a few times; usually there's a cross site scripting error for some reason in the browser dev tools / console log. Haven't really been able to solve it long term, because the error is misleading. So we've switched to Font Awesome for social icons.

    See http://www.studiopress.community/topic/facebook-linking-issues/#post-153001


    Coral Sea IT

    March 2, 2016 at 6:11 pm in reply to: Aggregating content based on tag #180487
    coralseait
    Member

    You'll want to then look into either:

    a) hooks and filters to mod the output via some code in functions.php

    or

    b) template hierarchy to build your own template for the tag / category which includes the content you need. You can also use a custom template which is somewhat similar but uses the drop down in the editor to select the template the page uses.

    Generally, I'm more of a fan of using the template hierarchy as this keeps functions.php cleaner and encapsulates all your display and logic for a given 'feature' and keeps less settings in the editor which users could change (although you can mask it) accidentally.


    Coral Sea IT

    February 28, 2016 at 4:34 pm in reply to: Nested repeater fields(ACF) not displaying like a table, why not? #180182
    coralseait
    Member

    Here you go; note this is NOT exactly written to be efficient or production code, but as teaching aid so you may learn how ACF works in the guts and unlocking its full potential.

    /*** Nested Repeater Testing ***/
    
        // The purpose of this is to illustrate how to retrieve, manipulate and
        // display somewhat more complex ACF structures. ACF is very powerful
        // and a key to unlocking this is understanding how ACF stores and returns
        // data
    
        // Note, we wouldn't necessarily write like this for production, but it is
        // split up here to make clear what's going on and to really keep HTML vs code
        // clear
    
        // assumptions:
        // ACF field group
        // ACF field: test_outer_repeater | repeater  <-- this is your 'main repeater'
        // ACF repeater sub field: test_item | text
        // ACF repeater sub field: test_inner_repeater | repeater  <-- this is your nested repeater
        
        // ACF Field: test_inner_repeater | repeater
        // ACF repeater sub field: test_title | text
        // ACF repeater sub field: test_cost | number
    
        // The output below will create a table for the outer repeater
        // and nest the inner repeater in a table of it's own
        // you can output however you like, but if you create the field
        // group as above and use the below it should be clear how
        // everything works - then you can mod display as you like
    
        // Begin HTML Markup for outer repeater table
        echo '<table>';
        echo '<thead>';
        echo '<tr>';
        echo '<th>test_item</th>';
        echo '<th>test_inner_repeater</th>';
        echo '</tr>';
        echo '</thead>';
        echo '<tbody>';
    
        // First we get the outer repeater field
        $outer_repeater = get_field('test_outer_repeater');
    
        // This will display the array that ACF returns for the entire outer repeater
        // ACF returns the whole repeater as an array of arrays
        /*
            echo '<pre>';
            var_dump( $outer_repeater);
            echo '</pre>';
        */
    
        // Here we iterate through every "row" in the outer repeater
        // Basically ACF is returning an Array of Arrays (which may even contain Arrays themselves)
        // Understanding this is key to using ACF effectively and allows very complex solutions
        foreach( $outer_repeater as $outer_repeater_item) {
    
            // This will display the arrays that ACF returns for each "row" of the outer repeater
            // This way you can see what your array keys and values are for debugging
            /*
                echo '<pre>';
                var_dump( $outer_repeater_item);
                echo '</pre>';
            */
    
            // This is a sub field in the outer repeater called test_item
            // Notice how we access it via the outer repeater row array and key
            $outer_repeater_sub_field = $outer_repeater_item['test_item'];
    
            // Here we are now accessing the inner repeater sub field, notice ACF returns it as an
            // array so we use the name of the inner repeater as the array key
            $inner_repeater = $outer_repeater_item['test_inner_repeater'];
    
            // Begin HTML row markup for outer repeater
            echo '<tr>';
            echo '<td>' . $outer_repeater_sub_field . '</td>';
    
            // The cell which will contain our nested repeater's nested table markup
            echo '<td>';
    
            // Now we can iterate through the inner repeater rows
            // Again, this could come back as an Array of Arrays etc
            foreach( $inner_repeater as $inner_repeater_item) {
    
                // This will display the arrays that ACF returns for each "row" of the inner repeater
                // This way you can see what your array keys and values are for debugging
                /*
                    echo '<pre>';
                    var_dump( $inner_repeater_item);
                    echo '</pre>';
                */
    
                // Here the inner repeater has a text field called test_title
                $inner_repeater_title = $inner_repeater_item['test_title'];
    
                // Here the inner repeater has a number field called test cost
                $inner_repeater_cost = $inner_repeater_item['test_cost'];
    
                // Begin HTML markup for inner repeater
                // Note, you don't have to do a nested table, can do whatever you want
                // but I've left this a nested table so it is pretty clear what is returned
                echo '<table>';
                echo '<thead>';
                echo '<tr>';
                echo '<th>test_title</th>';
                echo '<th>test_cost</th>';
                echo '</tr>';
                echo '<tbody>';
                echo '<tr>';
    
                // Output inner repeater data cells
                echo '<td>' . $inner_repeater_title . '</td>';
                echo '<td>' . $inner_repeater_cost . '</td>';
    
                // End HTML markup for inner repeater
                echo '</tr>';
                echo '</tbody>';
                echo '</table>';
    
            }
            // End cell contianing the nested repeater
            echo '</td>';
    
            // End HTML row markup for outer repeater
            echo '</tr>';
    
        }
    
        // End HTML markup for outer repeater
        echo '</tbody>';
        echo '</table>';
    
    /*** End Nested Repeater Testing ***/

    Coral Sea IT

    February 25, 2016 at 7:06 pm in reply to: Nested repeater fields(ACF) not displaying like a table, why not? #179931
    coralseait
    Member

    Hello,

    This is a bit tough to follow, as I can't watch the video right now ...

    But, are you saying you have a repeater in a repeater and you're having trouble accessing its data?

    We use ACF quite a bit, and generally stay away from the have_rows, sub_filed type things. ACF returns them back as arrays anyway so using a simple foreach on the repeater, and if necessary another one the sub repeater works great.

    In general, you have a key problem on which field the_sub_field is trying to get. If you like I can show you a stub on how do this with foreachs which although at first glance may seem more complex, will help teach you how ACF stores and returns data, and how to manipulate repeaters? Most of the time we are doing are more complex stuff with our repeaters and ACF, so we hardly use the_field, or the_sub_field.


    Coral Sea IT

    January 11, 2016 at 7:42 pm in reply to: Custom.css file issue #176269
    coralseait
    Member

    I wonder if we should sticky a post about curly quotes, it comes up often enough that'd probably help people -- esp with the prevalence of copy pasta coding these days.


    Coral Sea IT

    December 21, 2015 at 11:27 pm in reply to: Can't disable css files. #174535
    coralseait
    Member

    Oh yes, make sure there's no caching occuring, you may have a server cache that needs flushing as well, not sure


    Coral Sea IT

    December 21, 2015 at 11:24 pm in reply to: Can't disable css files. #174534
    coralseait
    Member

    Try both wp_dequeue and wp_dergeister with a priority on your action of very high, say 99999

    so something like:

    // Disable CSS Site-Wide Using CSS Script Handle
    
    add_action( 'wp_enqueue_scripts', 'my_dequeue_styles', 99999);
    function my_dequeue_styles() {
    wp_dequeue_style( 'dynamik_minified_stylesheet');
    wp_deregister_style( 'dynamik_minified_stylesheet');
    }

    For brevity I just listed a single example of dequeue and deregister in the function, you'd add all of them in it so each script is dequeued and deregistered.


    Coral Sea IT

    December 14, 2015 at 10:01 pm in reply to: Best Security option #173802
    coralseait
    Member

    Hello,

    1) Make sure your admin ID is not default (add a new admin, delete the old one, the ID number will not be the same).
    2) Use a very secure, entropic password
    3) Use two-factor for all accounts which can edit and esp do theme / admin updates
    4) iThemes is fantastic


    Coral Sea IT

    November 29, 2015 at 11:19 pm in reply to: how to make custom post type archive page display full post content? #172248
    coralseait
    Member

    Add this somewhere early in your archive template

    //* Use Full Page Rendering
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

    Oops, apologies that's for full width content, you want the entire post to show, correct?


    Coral Sea IT

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 327 total)
1 2 3 … 15 16 17 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble