Title: jack.koppa's Replies | WordPress.org

---

# jack.koppa

  [  ](https://wordpress.org/support/users/jackkoppa/)

 *   [Profile](https://wordpress.org/support/users/jackkoppa/)
 *   [Topics Started](https://wordpress.org/support/users/jackkoppa/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jackkoppa/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jackkoppa/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jackkoppa/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jackkoppa/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jackkoppa/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Changing Default Sort Behavior (Automatically Sort by "Symbol" on Page Load)](https://wordpress.org/support/topic/changing-default-sort-behavior-automatically-sort-by-symbol-on-page-load/)
 *  Thread Starter [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-default-sort-behavior-automatically-sort-by-symbol-on-page-load/#post-5874323)
 * Sounds good, Huge IT. Thanks again for the help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Changing Default Sort Behavior (Automatically Sort by "Symbol" on Page Load)](https://wordpress.org/support/topic/changing-default-sort-behavior-automatically-sort-by-symbol-on-page-load/)
 *  Thread Starter [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-default-sort-behavior-automatically-sort-by-symbol-on-page-load/#post-5874299)
 * Fantastic. Thank you so much for the code – the jQuery function makes a lot of
   sense. I tried adding the code where you told me to, but unfortunately, it doesn’t
   work there (even though when I add `console.log`, I can tell that the function
   is firing). I took the function and put it outside the original `<script>` tag(
   I actually made a separate `<script>` tag at the beginning of this View), and
   now it works! The only problem is that the portfolio first loads in the default
   sort, and then resorts, which is a little distracting. You can see that issue
   [here](http://apboconference.com/apbo-wordpress/new-speakers-page-sample/). Is
   there any way to prevent the portfolio from first loading in the default sort,
   and only load when that `.click` function you gave me fires?
 * If not, that’s OK. The current state of the site that I linked above is better
   than the default. Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Changing Default Sort Behavior (Automatically Sort by "Symbol" on Page Load)](https://wordpress.org/support/topic/changing-default-sort-behavior-automatically-sort-by-symbol-on-page-load/)
 *  Thread Starter [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-default-sort-behavior-automatically-sort-by-symbol-on-page-load/#post-5874278)
 * I need `VIEW 2 Popup` (which is called “Gallery Content-Popup” on the admin panel).
   I’d like to default sort by “Symbol”, which for each element, I’ve already assigned
   the attribute of `data-symbol="<?php echo $row->lastname; ?>"`, where `$row->
   lastname` calls one of my custom parameters that each portfolio element now has.
   Sorting by this already works when using the “Symbol” sort button – I’d just 
   like for that to be the default sort, without using any buttons.
 * Thanks so much for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Tab still on page! Want it gone!](https://wordpress.org/support/topic/tab-still-on-page-want-it-gone/)
 *  [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/tab-still-on-page-want-it-gone/#post-5812159)
 * Dang, frustrating. Yeah, sorry I can’t be of more help. If you really want to
   get rid of the HTML cleanup plugin, and can’t find where this is coming up in
   the template files, you could also add some CSS to the stylesheet:
 *     ```
       div.entry-content p:first-child {
        display: none;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Adding Custom Fields to Portfolio Page](https://wordpress.org/support/topic/adding-custom-fields-to-portfolio-page/)
 *  Thread Starter [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-portfolio-page/#post-5806383)
 * Figured it out! Was finally able to get access to the database, and manually 
   deleted the created tables. That way, when I deleted and re-activated the plugin,
   with my new parameters in the `portfolio-gallery.php` file, it worked! I now 
   have those parameters available for the template. Thanks for the help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Tab still on page! Want it gone!](https://wordpress.org/support/topic/tab-still-on-page-want-it-gone/)
 *  [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/tab-still-on-page-want-it-gone/#post-5812112)
 * Not the author, but usually, those shortcodes (`[huge_it_portfolio id=”2″]`) 
   are there because you’ve placed them on that specific post/page. Especially if
   it’s under the .entry-content div. Perhaps check out the specific page/post that
   you’re displaying at the address you linked us to, and see if you can find that
   shortcode to delete (either using the “Visual” or “Text” view for the text editor
   of that page)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Adding Custom Fields to Portfolio Page](https://wordpress.org/support/topic/adding-custom-fields-to-portfolio-page/)
 *  Thread Starter [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-portfolio-page/#post-5806376)
 * Hi Huge IT,
 * Thank you for the prompt response – that was helpful, especially for something
   that was so specific. I now understand that I need to edit the base file (`portfolio-
   gallery.php`) to get the database tables to include my parameters. However, since
   the tables have already been created, even when the plugin is de-activated and
   re-activated, the `CREATE TABLE IF NOT EXISTS` command for the `wp_huge_itportfolio_images`
   table will not run. Since I cannot delete this table in my database to start 
   over (having trouble accessing), do you have a code snippet I could use for adding
   a column to the `wp_huge_itportfolio_images` table?
 * Thanks again for any help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Gallery - Photo Gallery] Adding Custom Fields to Portfolio Page](https://wordpress.org/support/topic/adding-custom-fields-to-portfolio-page/)
 *  Thread Starter [jack.koppa](https://wordpress.org/support/users/jackkoppa/)
 * (@jackkoppa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-portfolio-page/#post-5806269)
 * After spending a bit more time with the plugin, I believe the declaring of custom
   fields needs to use both _portfolio-gallery.php_ **and** _admin > portfolios\
   _func.php_. I’ve added my new fields/columns to the _$sql\_huge\_itportfolio\
   _portfolios_ table, but cannot figure out where to call those in _admin > portfolios\
   _func.php_. Thanks for any help, sorry if this is too specific, and please do
   feel free to email me instead – hello at jackkoppa dot com

Viewing 8 replies - 1 through 8 (of 8 total)