Giter Club home page Giter Club logo

gallery-pro-theme's People

Contributors

chipbennett avatar matthewsimo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

gallery-pro-theme's Issues

Not all custom action hooks are being fired

Investigate which custom action hooks are being fired, which ones aren't, which ones need to be, and which ones need to be removed.

For example, the gpro_indexloop action hook is not being fired. The index.php template file includes hard-coded loop output, and the callbacks hooked into gpro_indexloop never get called.

Enqueue Lightbox scripts/styles on Pages as well as Posts

Forum topic:
http://upthemes.com/forum/read.php?2,3155

His fix: change this:

if(is_single()) wp_enqueue_style('thickbox_style',$stylesheet_dir . "/thickbox.css", array(), false, 'screen'); 

...to this:

if(is_single() || is_page()) wp_enqueue_style('thickbox_style',$stylesheet_dir . "/thickbox.css", array(), false, 'screen');

Do we want to implement this in the Theme as a bugfix? If so, I would recommend considering using is_singular() (unless we don't want the lightbox on attachment pages?):

if( is_singular() ) wp_enqueue_style( 'thickbox_style', $stylesheet_dir . "/thickbox.css", array(), false, 'screen' ); 

Fatal error: undefined function gpro_post_class()

See:
http://upthemes.com/forum/read.php?2,3026

<h1 class="page-title">Search Results for: <span id="search-terms">crime</span></h1> 
<div id="post-308" class="<br /> 
<b>Fatal error</b>: Call to undefined function gpro_post_class() in <b>/home/linweb02/b/bookstackreviews.com-1042806206/user/htdocs/wp/wp-content/themes/gallerypro/library/extensions/content-extensions.php</b> on line <b>279</b><br /> 

I checked content-extensions.php and you can see line 279 highlighted. What's it indicating? I'm really stuck with it.

// The Search Loop 
function gpro_search_loop() { 
while ( have_posts() ) : the_post(); ?> 
<div id="post-<?php the_ID() ?>" class="<?php gpro_post_class() ?>"> 
<?php if(has_post_thumbnail()): ?> 
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a> 
<?php endif; ?> 
<?php gpro_postheader(); ?> 
<div class="entry-content"> 
<?php gpro_content(); ?> 
</div> 
<?php gpro_postfooter(); ?> 
<div class="clear"></div> 
</div><!-- .post --> 
<?php endwhile;

This function actually appears about six times in content-extensions.php.

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.