Forum Replies Created

Viewing 30 posts - 1 through 30 (of 46 total)
  • Author
    Posts
  • in reply to: Description of animated numbers not showing #1312867

    Same issue here. I updated to 4.8.5 and that fixed it.

    • This reply was modified 3 years, 3 months ago by psstudiosinc.

    Thank you – this works to display the woocommerce pagination. However, when I click the pagination links they just reload the first pages’ content, even though the URL parameter changes and looks to be correct. Any thoughts on why or how to fix this?

    ps: I’ve only tested adding the function above on my local install – not the staging site. So if you need to work on the staging site, let me know and I’ll upload the changes to it.

    Thanks for your response. This does allow pagination to show when I modify the parent theme file. I tried to copy that file to the same location in the child theme but that doesn’t work.

    How can I affect this change in the child theme?

    This is resolved.

    I’m not sure of the culprit, though, because after updating WP, theme, plugins, it resolved itself.

    Other than the errant comma after ‘preview_mode’, – that did it.

    working code:

    $grid = new avia_post_grid(array(	'linking' 	=> '',
          'columns' 	=> '3',
          'contents' 	=> 'title',
          'sort' 		=> 'no',
          'paginate' 	=> 'yes',
          'preview_mode'  => 'custom', 
          'image_size' => 'square',  
          'set_breadcrumb' => false,
    ));

    Thank you so much!

    • This reply was modified 6 years, 10 months ago by psstudiosinc.

    Thanks for checking. I’ve updated to PHP 7.0.26 with the same failed result. I’m having trouble replacing the image size in the grid on these templates: taxonomy-portfolio_entries.php and tag.php in the child theme.

    The code in question is the line image_size below.

    $grid = new avia_post_grid(array(	'linking' 	=> '',
          'columns' 	=> '3',
          'contents' 	=> 'title',
          'sort' 		=> 'no',
          'paginate' 	=> 'yes',
          'image_size' => 'square',  // DOESN'T WORK - set new image size: https://kriesi.at/support/topic/edit-the-archive-page-template/
          'set_breadcrumb' => false,
    ));

    Is image_size the correct parameter? The support topic listed above is from 2013. Please take a look and advise. Thank you!

    Here you go:

    Hi,
    I don’t remember all the code I’ve tried, but rest assured I’ve tried everything that I found on this support forum – including the two links you suggest, without success. Let me restate my question more simply:

    How can I change the image size that the templates “taxonomy-portfolio_entries.php” and “tag.php” display?

    I’d like to change it from rectangular to square. See my original post for more detail. Thanks in advance!

    in reply to: customize breadcrumb trail for custom post types #868993

    It works perfectly. Thanks so much for your help with this!

    in reply to: customize breadcrumb trail for custom post types #867928

    Ismael,

    Looks and works great. Thank you!

    Last thing: I’m trying to manually insert a page, “Academics”, into the breadcrumb trail after the ‘Home’ link – so it matches the menu structure of the site. When I do, it works at the child level but fails at the parent level. The linking also becomes incorrect as you go up the chain.

    Is there a way to manually insert a page into the breadcrumb function you have provided?

    Here is what I tried:

    add_filter('avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod_division', 5, 1);
    function avia_breadcrumbs_trail_mod_division($trail) {
        if(is_single())
        {
            global $post;
    
            if( $post->post_type !== 'divisions-programs' ) return $trail;
    
            $parentID = wp_get_post_parent_id($post->ID);
    
            if($parentID == 0) return $trail;
    
            $parent = get_post($parentID);
    
            if(!empty($parent))
            {
                $home = $trail[0];
                $last = array_pop($trail);
    
                $link_inserted = '<a href="/academics/">Academics</a>';
                $link = '<a href="'.get_the_permalink($parent->ID).'">'.$parent->post_title.'</a>';
                $link = preg_replace('!rel=".+?"|rel=\'.+?\'|!',"", $link);
                $link = str_replace('<a ', '<a rel="v:url" property="v:title" ', $link);
                $link = '<span typeof="v:Breadcrumb">'.$link.'</span>';
                $trail[2] = $link;
    
                $trail = array(0 => $home, 1 => $link_inserted, 2 => $trail[1], 3 => $link, 'trail_end' => $last);
            }
        }
        return $trail;
    }
    in reply to: customize breadcrumb trail for custom post types #863594

    Hi Ismael,

    Thanks so much for your work on this.
    Number 2 from above is now resolved, that’s awesome!

    Number 1, when you’re on the child (Accounting program) of a parent(Business Division), the breadcrumb link for the parent (Business Division) is still incorrect – linking to the child (Accounting Program) instead.

    How can this be fixed?

    Best regards,
    Marc

    in reply to: customize breadcrumb trail for custom post types #862616

    Ismael,

    Thank you, that worked, but has a few issues. (https://imgur.com/a/upfvU)
    1. when on accounting program – the breadcrumb looks good as it now matches the url: /divisions-programs/business-division/accounting-program/ However, the Business Division breadcrumb is incorrect. It links to the Accounting Program, instead of the Business Division.
    2. when on the business division(/divisions-programs/business-division/) – the breadcrumb has itself as a parent:
    (Home/Divisions & Programs /Business Division /Business Division)

    in reply to: customize breadcrumb trail for custom post types #862206

    Hi Ismael,

    FTP credentials in private comments.

    I did attempt to modify this code for use with custom post type taxonomies without success. Sorry, I’ll need a bit more guidance. And thanks for your help!

    in reply to: customize breadcrumb trail for custom post types #859333

    Ismael,

    Yes, the Business Division is a post in the Divisions and Programs CPT. Its category is Division.
    The “Accounting Program” is also a post in the Divisions and Programs CPT and is hierarchically inside/below the “Business Division”. Its category is Program.

    When looking at the front end breadcrumb for all Divisions & Programs posts, here is what exists:
    Home / Divisions & Programs / Business Division
    What I want:
    Home / CUSTOM_PAGE / Divisions & Programs / Business Division

    in reply to: customize breadcrumb trail for custom post types #858584

    The custom taxonomy for the CPT Divisions and Programs is “Division Type”.

    in reply to: customize breadcrumb trail for custom post types #857219

    Hi Ismael,

    Wow. I’m so sorry we’re having so much trouble. The plugin redirecting you was “miniOrange SSO using SAML 2.0” but that was disabled. The site may have been cached for you. In any case, I reinstalled the site on a different server, with the miniorange and caching plugins disabled. So I’m hoping you’ll be able to login without issue. (see below)

    Again, thanks for sticking with this!

    in reply to: customize breadcrumb trail for custom post types #855139

    Ismael,

    Not sure why its doing that for you. I’ve disabled that plugin so you should not be redirected. Please try again.

    Thanks for sticking with me on this!

    in reply to: customize breadcrumb trail for custom post types #854523

    Hi Ismael,

    Make sure to go to the following link:

    in reply to: customize breadcrumb trail for custom post types #854088

    Ismael,

    Sorry for the confusion. We were having some trouble with our server right when you were in there and needed to turn off all plugins to do some testing. That why there were no CPTs.

    re: adding the filter from prev thread: It just shows two of the current page as the breadcrumb – no matter what I put in the variables. So that filter is not in the function file at the moment. Feel free to add it and test it.

    Please take another look. Thanks!

    in reply to: Google Maps – MissingKeyMapError #845938

    Thanks Ismael,

    For other users having a similar issue:
    I have a CPT ‘Locations’ which I’m using ACF to populate. I didn’t realize the Google Maps API input on theme options would not help display this. I guess the google maps api key in theme options only helps the display of Google Maps elements when using the avia builder.

    So I added the ACF code to the functions file: (https://www.advancedcustomfields.com/resources/google-map/) which solved the map viewing on the WP back end.

    And then used “API KEY for Google Maps” plugin to help the display on the front end.

    in reply to: Google Maps – MissingKeyMapError #845543

    Ismael,
    Thanks for your response.

    I have confirmed in the theme options that the google maps api key is validating
    I have deactivated the plugin I was using to get it to work on the front end (API KEY for Google Maps)
    I have commented out all references to google maps api in the functions file.
    None of this seems to have helped. I still get the google “Oops” error in the backend. And now there are no maps on the front end.

    I have reset the password to what is listed previously in this thread and have logged in successfully. Please double check the login URL you use is the exact one I listed.

    Will you please have another look? Thanks in advance.
    Marc

    • This reply was modified 7 years, 2 months ago by psstudiosinc.
    in reply to: Google Maps – MissingKeyMapError #843736

    Hello,
    We have followed the documentation without success.

    The client has since added their own Google API key, which is unrestricted at the moment. The problem still persists. Front end maps work because of a plugin I installed (API KEY for Google Maps). Its in the admin where we still get the error. The admin error goes away when developing on our local machine.

    I’ve recently also tried this thread:
    https://kriesi.at/support/topic/cant-get-google-maps-on-contact-page-to-show-up/#post-655214
    without success.

    I’ve tried turning off all plugins and get the same error.

    Will you please take a look and provide a solution? See Private content for more details and access.

    Thank you!

    in reply to: Portfolio rendering issue on Windows 10, Chrome #843677

    Hi Ismael,

    Yes, I did try it. For some reason, my last test was only showing it working after sorting the categories. Now, I am seeing it fixed at 24.8%. Must’ve been a caching issue.

    Thank you for your help. All is working well now.
    James

    in reply to: Portfolio rendering issue on Windows 10, Chrome #842753

    Hi Ismael,

    Thank you for this, but the widths are dictated by the absolute positioning of the .av_one_fourth elements. JavaScript is calculating the left and top positioning and placing inline CSS, so even with your solution in place, the 4th column is still dropping due to the absolute positioning. Placing width: 24.8% !important; did not resolve either and is not realistic with media queries on smaller devices. I did not want to mess with the positioning as that negatively affects the sort feature.

    Since this is such a weird and uncommon issue, the client has accepted it and would not like to continue spending funds to address. Thanks for your help in trying to resolve!

    James

    in reply to: Portfolio rendering issue on Windows 10, Chrome #836594

    Hi Mike,

    My apologies for the confusion. The statement “The client is on Windows 10 using Mac.” was incorrect. It looks like my punctuation was off and I didn’t proof read well enough. I meant “The client is on Windows 10. Using Mac, I have not seen the issue on ANY other browsers in iOS or Windows.” I used a Windows VM on my Mac and could not reproduce. It was only until we tested it on Chrome using our Lenovo ThinkPad E470 using Windows 10 (very similar to what our client is using) that we were able to replicate the issue ourselves. The resolution is set to 1920×1080, as are all other recommended display settings out-of-the-box.

    Additionally, once we drag the screen to a larger monitor using the same browser window size, the issue corrects itself and spans all 4 columns normally. I have no clue why this is happening.

    I realize this is a very particular anomaly that is difficult to replicate without the necessary hardware. Hopefully with the spec info and additional details, you will be able to see it occur. Thank you for attempting to resolve this weird issue.

    • This reply was modified 7 years, 3 months ago by psstudiosinc.
    in reply to: Portfolio rendering issue on Windows 10, Chrome #835609

    Ok, thank you. Let me know if I can provide any more details other than the problem of Chrome on Windows 10 only.

    James

    in reply to: Portfolio rendering issue on Windows 10, Chrome #832986

    Hello Rikard,

    I’m not sure what happened there, but the same credentials are now working. Sorry about that. Please try again.

    Yes, it is only happening on Windows 10, Chrome browsers. iOS is fine for me too – which is why I never noticed. The client is on Windows 10 using Mac. I have not seen the issue on ANY other browsers in iOS or Windows. All but Chrome on Windows 10 look perfect.

    Thank you,
    James

    • This reply was modified 7 years, 3 months ago by psstudiosinc.
    in reply to: How To Make Changes To The Portfolio Category Page #831311

    I was looking to solve the same problem as mikeyraymarketer.
    Tried adding the following to taxonomy-portfolio_entries.php
    'items' => '20',

    which had no effect, but left in place, then tried using
    $grid->query_entries();
    which works, conditionally – as long as it is less than the main WP>Settings>Reading “Blog pages show at most” setting. It will limit the number of posts shown but, it will also show all categories. So not really usable.

    I resolved my issue by going back to $grid->use_global_query(); and using the WP>Settings>Reading “Blog pages show at most” setting. It works for tags as well.

    Hope this helps someone else!

    Perfect. Thank you!

    in reply to: Portfolio rendering issue on Windows 10, Chrome #830847
    This reply has been marked as private.
Viewing 30 posts - 1 through 30 (of 46 total)