This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

webmastermfrv

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • webmastermfrv
    Participant

    Never mind, I realized the problem was being caused by a JS library being loaded by the WP Table Reloaded plugin.

    The problem only occurred on pages or posts that used a WP Table Reloaded shortcode, which caused the JS library to be loaded.

    The plugin provided an option to disable the JS library and upon doing so the menu started working correctly on the portfolio item single posts.

    You can consider this problem solved.

    in reply to: How do I change the posts per page on a portfolio page? #19597
    webmastermfrv
    Participant

    Hi Jason, I actually tried one of those bulk post type converters and for some reason it was not working. It did not see the “portfolio” type from the earlier version. That’s why I punted on plugins and decided to just edit the db (after making a backup, of course).

    Thanks for the tip with the analytics plugin and the action hooks. I am definitely trying to keep my customizations in the child theme.

    in reply to: How do I change the posts per page on a portfolio page? #19593
    webmastermfrv
    Participant

    Oh, and one final question. Is there an option to enter script code site wide, like for Google Analytics? Currently I just added it to the footer.php file manually.

    in reply to: How do I change the posts per page on a portfolio page? #19592
    webmastermfrv
    Participant

    Hi Jason, thanks for your help with the background. That video spelled it out very clearly. I’m not sure how I missed that in the docs.

    With regard to the “portfolio” question, my problem arose because I’m upgrading a website that used Alyeska v1.1.1. It used a custom post type named “portfolio”. The website featured about 23 portfolio pages showing RVs for rent.

    I purchased the latest version of Alyeska and installed it, then realized that the new version did not have such a custom post type. I installed the ThemeBlvd portfolio plugin. I still had to edit the MySQL db to change the RVs custom post type to “portfolio_item”. It used to be “portfolio-item”. Then I could see the RV posts again and work with them.

    So here’s an example of a “portfolio” page (a custom post grid) showing all the RVs:

    http://www.midfloridarvrental.com/items/rv-inventory/

    The grid originally showed only 4 rows when I needed 7. I didn’t want to use a module because it makes a second padded frame around the content.

    I actually found the answer to my question in the plugin page. The following code in my child theme’s functions.php was able to change the default rows to 7:

    function my_grid_rows() {
    return 7; // Number of rows per page
    }
    add_filter( ‘themeblvd_default_grid_rows’, ‘my_grid_rows’ );

    This worked like a charm. However, I’d like to mention that while I was looking through the theme and framework for a way to set the number of rows, I found this on line 288 of helpers.php:

    // Rows
    $rows = get_post_meta( $post->ID, ‘rows’, true );
    if ( ! $rows ) {
    $rows = apply_filters( ‘themeblvd_default_grid_columns’, 4 );
    }

    Should the third line not be the following?

    $rows = apply_filters( ‘themeblvd_default_grid_rows’, 4 );

    Thanks again for all your help. This theme rocks!

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