upthemes / gallery-pro-theme Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://upthemes.com/themes/gallery-pro/
Home Page: http://upthemes.com/themes/gallery-pro/
Related forum topic:
http://upthemes.com/forum/read.php?2,3075
Confirmed bug via test on the demo site.
Need to investigate and fix.
Related forum topic:
http://upthemes.com/forum/read.php?2,3373
Possibly related to the WP 3.3 update, but I've not been able to replicate the issue myself. We're getting intermittent reports of this issue, both for Gallery and for Garage Band.
The continuing saga: https://upthemes.com/support/topic/two-menus-one-to-many/#post-3283
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.
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' );
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.
Example:
http://upthemes.com/demo/gallerypro/?p=358
The custom page template file name changed from post-temp-blog.php to post-template-blog.php, causing the body class applied to change from .post-temp-blog-php to .post-template-blog-php.
CSS classes in style-dark.php and style-light.php need to be updated accordingly.
Related forum topic:
http://upthemes.com/forum/read.php?2,3508,3508#msg-3508
Review/update Theme documentation, as required.
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.