Git Product home page Git Product logo

better-extended-live-archive's Introduction

Hi there ๐Ÿ‘‹

Charles's GitHub stats

better-extended-live-archive's People

Contributors

charlestang avatar thejourneyler avatar

Stargazers

 avatar  avatar

Watchers

 avatar

better-extended-live-archive's Issues

Custom Post type showing unexpectedly

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/

Grabbing Custom Post Types

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?

class-snoopy is outdated in WP 3.0

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'm wanting to add another CSS skin to the plugin

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.