• 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

How do I manually add background and featured images WITHOUT the media uploader?

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

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do I manually add background and featured images WITHOUT the media uploader?

This topic is: not resolved

Tagged: Agentpress, images, media uploader

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 7 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 20, 2015 at 7:10 pm #145058
    vincentpolisi
    Member

    I run my own servers so I fully understand how to upload images via FTP/SFTP/SSH

    What I need to know is how I know where to manually code images to appear for background and featured images?

    In other words, presently, in AgentPress, we're having an issue on one domain where neither the Media Uploader nor the Featured Image will accept anything above about 200kb, yes, kb.

    We've done everything we know to do, deleted the site and database and started from scratch, php.ini, .htaccess, plugins, you name it, no matter what we do, we can't seem to get this one site to accept images above 200kb despite WordPress confirming the php.ini file limit of 32mb.

    So, where do I hand code the placement of the background image in AgentPress?

    What about featured images for every post across every WordPress site?

    Automation is wonderful until it fails you and I need a fix and I'd prefer to be able to never have to worry about this again.

    Thank you in advance.

    Site: https://wendypolisi.com
    Server: AWS EC2 Instance
    Database: AWS RDS MySQL DB

    https://wendypolisi.com
    March 21, 2015 at 12:19 am #145062
    Brad Dalton
    Participant

    This was answered recently.

    You can pull them from your images folder using CSS or PHP

    Hard code them directly in a template

    Or use CSS.


    Tutorials for StudioPress Themes.

    March 21, 2015 at 8:05 am #145083
    vincentpolisi
    Member

    @braddalton

    Thank you. I know it can be done because I've modified it before in the Square One theme in style.css but the code was already there and all I had to do was enter the location of the background images.

    What I am trying to ascertain is what code to use for AgentPress (or any other StudioPress theme) if pulling from CSS?

    In other words, to get Background Image #1 hard coded, what's the code to place in style.css?

    Likewise, if I want to hard code the Featured Image for post ID 27, what's the code for that?

    Isn't it just one line of code for each image?

    March 21, 2015 at 9:00 pm #145157
    Brad Dalton
    Participant

    Not just one line

    The code would need to be written and tested.

    I have some working examples on my site which use PHP, CSS and jQuery but they may need some modification to do exactly what you want. You can use the contact form on my site if you need help.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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