• 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

Porter

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 - 21 through 40 (of 516 total)
← 1 2 3 … 24 25 26 →
  • Author
    Posts
  • March 29, 2016 at 9:38 pm in reply to: Loop Using .hentry, Not .entry #182499
    Porter
    Participant

    I did a bit of digging around, and while there may be a more elegant solution, this seems to the accepted way to circumvent the issue. Simply change the sole is_admin() function call, to:

    if ( is_admin() && defined('DOING_AJAX') && !DOING_AJAX )

    I'm not 100% sure where in the admin area this check shows up, or what id does, but I think this works. I'm going to edit my Genesis framework files to include this change, unless someone can tell me what it might break. I put in a ticket to support, hopefully they take a peak, and even better consider patching the next minor release.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 29, 2016 at 7:36 pm in reply to: Loop Using .hentry, Not .entry #182497
    Porter
    Participant

    There are "how to" articles pertaining to WordPress and Ajax dating back to 2011 and very likely long before, if it hasn't been updated to "support" it, it never will be (unless they overhaul completely to help with the REST API).

    I'm still leaning towards it being an overlooked case, as I've see a few in WordPress core pertaining to these kinds of checks (images being returned with size modifications that weren't meant for the dashboard).

    What's the best way to contact StudioPress to get an official response?


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 29, 2016 at 1:53 pm in reply to: Loop Using .hentry, Not .entry #182479
    Porter
    Participant

    The code from the standard loop is simply copy / pasted into functions.php, with slight alterations to wrap certain elements in div tags (not ideal, but I didn't write it). That being said, I found the cause! Line 84 of genesis/lib/structure/post.php

    if ( is_admin() ) {
    		return $classes;
    	}

    The is_admin function is returning true, because all ajax calls in Worpdress (at least, from the learning I've done this last week), go through the admin area, via admin-ajax.php. Since it's going through the admin, this check is exiting before reaching the rest of the function that displays the posts as I'd like them too.

    Now I'm sick, and a bit out of my comfort zone, but isn't that somewhat of a bug on the end of Genesis? If this is indeed the standard behavior for an ajax call (going through admin), we don't want to tamper with the formatting as if we're in the admin panel. I can't think of a better check off the top of my head, but surely that boolean check can be expanded to exclude when an ajax call is happening, or add an && like so:

    if ( is_admin() && current_user_can( $capability ) ) {
    		return $classes;
    	}

    Perhaps with the lowest common privilege, that check would suffice to know if you're on the admin dashboard, vs doing ajax? (list of privileges)

    Again, I'm just kind of thinking out loud here, so please correct me / let me know what you think.

    PS - I "fixed" my issue with this javascript, but it's obviously a hack-job, and I'd like to continue the dialogue above.

    $('.status-publish').toggleClass('hentry entry');


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 27, 2016 at 11:21 am in reply to: Post Formatting With AJAX Call – Hooks Don't Fire Again? #182327
    Porter
    Participant

    Bump~

    I could really use some info on this.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 12, 2016 at 10:48 am in reply to: Daily Dish Header #181269
    Porter
    Participant

    Oddly enough, your earlier response is now marked as private and I can't see it, even when logged in haha. Toss me a link again and I'll take a look, and I'm actually at my computer and awake now 😉


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 10, 2016 at 9:24 pm in reply to: Daily Dish Header #181185
    Porter
    Participant

    Yeah, sorry, fell asleep and forgot about it this morning. I'll check when I get up tomorrow.

    In the meantime, let me know exactly what you want, as clear as possible, so I don't have to ask as much tomorrow.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 9, 2016 at 7:23 pm in reply to: Daily Dish Header #181082
    Porter
    Participant

    @rjincan - do you have a link to your site? I assume the above link is what you want, I need to see what you have to get there.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 2, 2016 at 1:58 pm in reply to: Genetics Of A Genesis "Blank" Template #180458
    Porter
    Participant

    Thanks, that clears things up.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    January 11, 2016 at 1:42 pm in reply to: Executive Pro Header – Centre Align Right Text Widget #176243
    Porter
    Participant

    If it isn't already in your style.css media queries (at the bottom), you may need to add it. The final code (for mobile responsiveness only) is:

    header-widget-area {
         text-align: center;
    }

    Buy me a beer? | Try DigitalOcean VPS Hosting

    January 11, 2016 at 12:19 pm in reply to: Executive Pro Header – Centre Align Right Text Widget #176239
    Porter
    Participant

    style.css in your wp-content/theme (your theme name) folder.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 21, 2015 at 9:16 am in reply to: Modern Studio Nav – make spacing less #174467
    Porter
    Participant

    Not a problem. For that, change the following "margin-bottom" value to something like 24px:

    .archive-description, .author-box, .breadcrumb {
        border-bottom: 1px solid #000;
        margin-bottom: 100px;
        padding-bottom: 30px;
    }

    Again, play with it until you get what looks right to you.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 21, 2015 at 9:02 am in reply to: Modern Studio Nav – make spacing less #174463
    Porter
    Participant

    Search for the following in your style.css file:

    @media only screen and (min-width: 1100px)
    .genesis-nav-menu a {
        padding: 29px 20px;
    }

    Change the 20px to 8 to 12px, up to you. 8 works if you don't change the letter spacing of 1px in the next part, 12 works if you do. If you do 8, change the following to 0 instead of 1:

    .genesis-nav-menu a {
        color: #000;
        display: block;
        font-family: Montserrat, sans-serif;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 1px;
        padding: 15px;
        text-transform: uppercase;
    }

    "letter-spacing 1px;" would be changed to 0, rather than 1, which makes a bit more room. You can also adjust the font-size 12px to make more room too. Either way, the padding in the first part, and font size / letter-spacing are what are taking up space, so adjust those values until you get what you're looking for.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 21, 2015 at 7:46 am in reply to: Show header only in Home Page #174456
    Porter
    Participant

    You can put it anywhere in functions.php (I suggest the end, add a line of empty space, then paste that code at the bottom of the document), I promise it's WAY less scary than it looks. 99% of changes you make to your site happen in style.css and functions.php, so it's really recommended you get comfortable with both.

    If you insist on a css solution, this should work:

    .home .site-header {
        display: inline;
    }
    
    .site-header {
        display: none;
    }

    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 20, 2015 at 11:25 pm in reply to: Show header only in Home Page #174436
    Porter
    Participant

    This should do the trick, add it to your functions.php file:

    /** Remove header on all pages but home page. */
    add_action( 'genesis_header', 'site_home_remove_header', 5);
    function site_home_remove_header() {
      if(!is_home() || !is_front_page()){
        remove_action( 'genesis_header', 'genesis_do_header' );
      }
    }

    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 20, 2015 at 2:09 pm in reply to: White space around CTA widget/eNews Extended in tablet & mobile views (Parallax) #174417
    Porter
    Participant

    This text is white on white, and is taking up roughly 50% of the area you're referring to:

    ""He shall cover you with His feathers, and under His wings you shall take refuge ..."
    Psalm 91:4a"

    Remove that, or change the font color.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 14, 2015 at 10:37 am in reply to: The freaking bottom border #173783
    Porter
    Participant

    The issue is that the bottom border is coming from various places, like so:

    Line 267-269:

    .entry-content a {
        border-bottom: 1px dotted #999;
    }

    As well as:

    224-228:

    a:hover {
    /*	color: #c50000; */
    /*	border-bottom: 1px dotted #c50000;*/
    	border-bottom: 1px dotted #333;
    }

    If you remove that, you should be able to remove your added "border-bottom: none", as that's not needed (or being read), and I'm not 100% sure, but I don't think "none" is accepted there, but I could be wrong.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 14, 2015 at 9:47 am in reply to: The freaking bottom border #173776
    Porter
    Participant

    Are you making entire posts that are just a single image? The above css has zero to do with posts, or text, it has to do with entry-content, which is simply the content area. If you make a post with a wall of text, that border will be there, if you make a post that is just an image, it'll be there, because it's just adding it to the end of the entry content, it doesn't care what that content is.

    Assuming you are making entire posts that are just an image, you could add this:

    .entry-content img {
        padding-bottom: 24px;
        border-bottom: 1px dotted #ff00ee;
    }

    (the padding is to show the border below the image, otherwise it's right up against it)

    You still need to remove various other border css, as there are instructions for if it's a link, if it's not a link, etc, which messes it all up.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 14, 2015 at 12:08 am in reply to: AgentPress – Featured Listings aligned left 1 row #173735
    Porter
    Participant

    This is likely an option in your themes settings. In your admin area, search for settings specific to your theme, likely under a menu named after the theme.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 14, 2015 at 12:00 am in reply to: The freaking bottom border #173734
    Porter
    Participant

    It's not specific to images, it's specific to your entry-content section.

    .entry-content a {
        border-bottom: 1px dotted #999;
    }

    Buy me a beer? | Try DigitalOcean VPS Hosting

    December 8, 2015 at 7:19 am in reply to: Who Are You Using For Your Web Hosting? #173197
    Porter
    Participant

    You're likely not going to find a completely honest and unbiased "review" site. The issue is that there is massive money in web hosting, and much like politics, it's corrupted. People pay tens of thousands for false reviews, others are invested via referral links and game their entire site's reviews. The best way to get accurate information, is to ask like you have here, and analyze what actual people have used for years.

    I'm not sure how they handle, but NameCheap now does hosting, and has solid support (at least the systems in place, not sure how they actually respond / handle), so consider giving them a try.

    I personally left HostGator after 5 years when Endurance International Group bought them out - that's when performance dropped, and I generally saw a lot of hate towards them around the net (I used to praise them and hand out referrals all the time). Worth noting, is EIG bought out a TON of web companies, which can be seen here.


    Buy me a beer? | Try DigitalOcean VPS Hosting

  • Author
    Posts
Viewing 20 posts - 21 through 40 (of 516 total)
← 1 2 3 … 24 25 26 →
« Previous Page

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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