Skip to content

Commit

Permalink
A few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Powers committed May 22, 2013
1 parent 209d0c3 commit 8f29444
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions admin/actions.admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,14 @@
*/

/**
* Show Options Panel after theme activation
*
* @package PageLines Framework
* @subpackage Redirects
* @since 1.0.0
* Move users to front end after activation
*/
if( is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" )
wp_redirect( admin_url( PL_DASH_URL.'&activated=true&pageaction=activated' ) );
wp_redirect( home_url() );

/**
* Add Javascript for Layout Controls from the Layout UI class
*
* @package PageLines Framework
* @subpackage LayoutUI
* @since 2.0.b3
*/
$layout_control_js = new PageLinesLayoutControl();
add_action( 'pagelines_admin_head', array(&$layout_control_js, 'layout_control_javascript' ) );
Expand Down
Binary file modified images/thumb-missing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion includes/class.posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ function pagelines_show_thumb($post = null, $location = null){
*/
function pagelines_show_excerpt( $post = null ){

if( is_page() )
if( is_page() || is_single() )
return false;


Expand Down

0 comments on commit 8f29444

Please sign in to comment.