charlestang / better-extended-live-archive Goto Github PK
View Code? Open in Web Editor NEWThe refactor of Extended Live Archive
Home Page: http://sexywp.com/archives
The refactor of Extended Live Archive
Home Page: http://sexywp.com/archives
I have an instance of BELA running here: http://www.hughandbecky.org/archive
Notice under March 2013 there are 15 posts. But only 3 of them are actually posts. The others are Custom Post Types which are are somehow getting picked up. If clicked on then they go to a 404 page because they are not supposed to be public.
I was looking at the BELA code and looking for get_the_post(); but I could not find any instances of it. Maybe I missed it or the post discovery method is a bit different. If you wanted to replicate the issue locally the CPTs are being generated by the WP-Resume Plugin. http://wordpress.org/extend/plugins/wp-resume/
BELA is grabbing and displaying Custom Post types. Is there an WP provided filter where I can limit this to post and pages, or select the CPTs I want to display? If so, where would I put it?
in the options page [af-extended-live-archive-options.php] class-snoopy is called once line 9 and used once in a function on line 249.
function af_ela_remote_version_check() {
if (class_exists(snoopy)) {
$client = new Snoopy();
$client->_fp_timeout = 4;
if (@$client->fetch(af_ela_info('remoteversion')) === false) {
return -1;
}
$remote = $client->results;
if (!$remote || strlen($remote) > 8 ) {
return -1;
}
if (intval($remote) > intval(af_ela_info('localeversion'))) {
return 1;
} else {
return 0;
}
}
}
class-snoopy is, from what I can tell, not available in WP 3.5
I have another CSS skin which I would think should get added to BELA. It comes from the days of K2. Pretty sweet bit of organization and layout. I was thinking that it might be possible to added in the hierarchy of BLEA. I just don't want to loose it. Not sure where to add it though. And if it is added it would be nice to add a switch in the admin page. Currently I just use it by naming the file ela.css... which works... What do you think? should it be added? I could figure out how to get it on here and then send you a pull request? would that work?
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.