Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #980
    Profile photo of Christine
    Christine
    Participant

    I have just reinstalled this plug-in but cannot find/remember where it is so that you can put in the edited code snippet (in this case to have more images in results page)

    Could someone please remind me where to find it?

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #9283
    Profile photo of Leo
    Leo
    Participant

    It was on the main .com site. It should go live tomorrow, so I’ll link to the page when its up.

    #9284
    Profile photo of Christine
    Christine
    Participant

    Hi Leo
    I have the plug in and installed it, I just cannot find where the page is to install the code. It is probably right in front of me, I just cannot see it 🙄

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #9285
    Profile photo of JoAnnSnover
    JoAnnSnover
    Participant

    It’s in symbiostock_image_results_per_page in functions.php

    #9286
    Profile photo of Christine
    Christine
    Participant

    It was on the dashboard – somewhere ❓

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #9287
    Profile photo of Leo
    Leo
    Participant

    I almost forgot! Here you go:
    http://www.symbiostock.com/change-posts-per-page-symbiostock-genetics-lab-snippet/

    And taken from that page:

    <?php
    function gl_setposts_infusion(){
    function gl_mod_search( $query ) {
    global $network_search;
    //$network_search = get_query_var('symbiostock_network_search');
    if($network_search != true && !is_admin()){
    $per_page = get_option('gl_posts_per_page', 24);
    $query->set('posts_per_page', $per_page);
    return;
    }
    }
    add_action( 'pre_get_posts', 'gl_mod_search', 10);
    }
    add_action( 'after_setup_theme', 'gl_setposts_infusion' );

    function gl_set_post_results(){
    wp_verify_nonce('gl_setposts_action');
    if(isset($_POST)){
    if(is_numeric($_POST))
    update_option('gl_posts_per_page', trim($_POST));
    }
    ?>





    <?php
    }
    add_action( 'gl_custom_actions_after', 'gl_set_post_results' );
    ?>

    That will allow you to change results-per-page to whatever you wish.

    This plugin can be used to do LOTS of things — I had made it so instead of building hoards of features, I could just custom-write snippets, post them on the main site, and let people add them at will.

    #9288
    Profile photo of RuthBlack
    RuthBlack
    Participant

    I’ve just bought and installed the Genetics Lab Plug-in so that I can increase the number of images per page.

    The instructions say “After inserting this code, an option will appear at the bottom of the Symbiostock Genetics Lab panel – asking you to insert the number of posts you’d like to see per page on search results. Simply input the number and your done!

    But no option appears for me, only the message “Operation successful. Code Infused!”

    #9289
    Profile photo of Christine
    Christine
    Participant

    Hi Ruth – it should appear under the Symbiostock Bee tab but it it not there for me

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #9290
    Profile photo of RuthBlack
    RuthBlack
    Participant

    I do have the plug in appearing under the Bee tab, and managed to get as far as inserting the code, but then there was no option to select a number of images.

    Strangely, after I installed the plug in it seems to appear as 2 separate plug ins – one called “Symbiostock – Genetics Lab” and the other called “.$name.” with the description “Small miniplugin generated by Symbiostock Genetics Lab”

    #9291
    Profile photo of Christine
    Christine
    Participant

    Thank you Ruth! It was the second one I needed, I missed that.

    If I remember correctly you insert the code and save it, then tick the box for the Number Of Images On Page and activate it, then you will be able to set the number you wish up to a maximum of 96

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #9292
    Profile photo of RuthBlack
    RuthBlack
    Participant

    Glad you managed to get it sorted Christine. I still don’t get an option to select a number of images, I’ve tried activating and de-activating the cart manager, as I think I read somewhere that there was a conflict, but it made no difference.

    #9293
    Profile photo of Christine
    Christine
    Participant

    Hi Ruth, you should now have 96 images per page on your searches. Do not worry about disabling the Cart as I do not think it affects this plug-in

    I had decided not to visit your site again as I like the pictures so much and they always make me feel peckish :mrgreen:

    http://kerioakimaging.com - trying to reopen
    http://nail-art-at.kerioak.com - Art and Nail Art

    #9294
    Profile photo of RuthBlack
    RuthBlack
    Participant

    Thanks so much for your help, Christine. The box has now magically appeared, don’t know what I was doing wrong!

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.