pmgllc / genesis-minimum-images-extended Goto Github PK
View Code? Open in Web Editor NEWAllows for a custom image for the single post banners rather than the featured image
Allows for a custom image for the single post banners rather than the featured image
Do you want to request submission into the WP.org repo?
http://wordpress.org/extend/plugins/add/
We can start that now, beta while we await review, so we can launch it on the wp.org once we're happy that we are bug-free.
The current markup for a featured-image in Minimum (using the feaured image as the banner):
<.div id="featured-image".>
<.img src.....>
<./div.>
In the plugin,
<img id="featured-image"....
The major different is the forcing of the image to be full screen, no matter how small it is. Is that the intention? Or, if you upload something smaller, it'll show it as centered?
Featured-image being used:
http://sp.brandonkraft.net/2012/11/13/hello-world/
Banner being used with same image file:
http://sp.brandonkraft.net/2013/02/22/hello-world-2/
[edited to add periods to html markup. Wasn't displaying before]
I'd like to add a setting on what the home graphic should be instead of using the sample.jpg.
Long day here too, so for later.
For grins, I'm going to see if I can make it work with Streamline. Going to fork it and work on it away from this repo.
I'm editing the files to refine purpose to just changing the banner from the featured image to a new "banner image." I've edited the admin.php and still need to finish the output.php and check the plugin.php in the morning. Long day - headed to bed.
Requested to have text overlay on IMG.
I put the plugin in another site of mine running Minimum 2.0 and it slapped me again. I'm going to look at the server logs and see what I can find out and really do some learning.
I created a staging area and got the following to work: http://jpetersen.staging.wpengine.com/business-tips/thoughts-on-competition-among-wordpress-developers/
It is insisting on using the 300px thumbnail of the banner file and I can't see how to avoid that. I removed the banner's custom image size - it needs to be the full 100% width, auto height (or the actual height).
Very proud of myself for figuring out most of the issues I caused by changing course to concentrate on just the banner. Anyone know how to use the full image instead of a thumb?
I can't get the alt image to populate. I'm about to push a commit that should have the "alt=" only display if the alt tag is filled, but it's not working. Previously, the img tag was rendered as < img src="http://example.com" alt / >.(without the extra spaces)
With new commit, it's valid HTML; just missing info.
IIRC, currently, if no banner image is displayed, the featured image is used…a fallback for folks with many a-posts. We should add an option to display nothing instead of the featured image.
I think a checkbox in the metabox area would do the trick. Happy to do it once this queue of client work is knocked out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.