raindance

Member

Forum Replies Created

  • In reply to: Pages?

    #17683

    Ahhhhhhh I see. Thanks for explaining. I’ll try it again.

    In reply to: Pages?

    #17681

    I don’t mind it being end of post content or else it will be out of the white space.

    I dont get the is home part in the code…that makes it seems like its telling it to appear on the home page?

    In reply to: Wp Navi not working?

    #17867

    It occurs to me that we hid the standard nav so that I could use the Ambroseite next/previous plug in for nav in posts. Could that be why PageNavi isn’t showing up for pages?

    My functions file is like this:

    <?php
    function graphene_slider_post_types(){
    return array('post', 'page');
    }
    add_filter( 'graphene_slider_post_type', 'graphene_slider_post_types' );
    // attaches the function my_post_nav to the hook graphene_post_nav
    add_action ('graphene_after_post_content', 'my_post_nav');
    // our function

    function my_post_nav(){
    // this will allow us to use other hooks but still only show on single posts
    if ( is_single() && ! is_page() ) : ?>
    <div id="my-post-nav"> <!-- div to contain your links -->
    <?php previous_post_link_plus( array(
    'order_by' => 'menu_order',
    'loop' => false,
    'max_length' => 0,
    'tooltip' => 'Previous page',
    'in_same_cat' => true,
    'ex_cats' => '12'
    ) );?> |
    <?php next_post_link_plus( array(
    'order_by' => 'menu_order',
    'loop' => false,
    'max_length' => 0,
    'tooltip' => 'Next page',
    'in_same_cat' => true,
    'ex_cats' => '12'
    ) );?>
    </div>
    <?php endif;
    }

    /******
    * these next two remove the graphene breadcrumb and then add one
    * which does not appear on the home page
    *****/

    // has to be called after the action is added
    add_action ('after_setup_theme', 'wmrt_remove_graphene_bc');

    function wmrt_remove_graphene_bc() {
    remove_action ('graphene_top_content', 'graphene_breadcrumb_navxt');
    }
    add_action('graphene_top_content', 'wmrt_breadcrumb_navxt');

    function wmrt_breadcrumb_navxt () {
    //by calling this at this point is_home() works!
    if ((function_exists('bcn_display')) && (!(is_front_page()))) {
    echo '<div class="breadcrumb">';
    bcn_display();
    echo '</div>';
    }
    }

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'View full post' => 'Read More',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );
    function laura_sharethis (){
    ?>
    <div id="sharethis"><span class='st_facebook_hcount' displayText='Facebook'></span><span class='st_twitter_hcount' displayText='Tweet'></span><span class='st_plusone_hcount'></span><span class='st_fblike_hcount'></span></div>
    <?php
    }
    add_action( 'graphene_after_post_content', 'laura_sharethis' );

    I really need to get some kind of navigation happening for pages and nothing seems to be working.

    Any help?

    In reply to: font size short code

    #16728

    Ken-

    I put this is another thread but just wanted to let you know this is how I did it…I wanted other style choices in a drop down on the visual editor too…

    Styles in tiny mce visual editor

    http://funroe.net/projects/super-edit/

    Plugins: WP Super Edit, WP Super edit theme classes

    Adds CSS classes from your themes editor.css file to the visual editor

    From forum:

    Installed WP Super Edit and the associated WP Super Edit Theme Classes plugin.
Then you have to go to settings on the left of the WP dashboard > WP Super Edit > Configure Editor Plugins > check the box for Advanced CSS / styles Plugin then go to the Arrange Editor Buttons link at the top and drag the Custom Classes button onto the left side toolbars somewhere.

    Then go the file in the theme folder editor-styles > and add whatever styles you want to show up in the drop down for styles to apply using the visual editor.

    In reply to: Pages?

    #17679

    Nope, looked the same.

    I feel like there is an excerpt plug in or something that lets you control that with excerpts better but not sure.

    Surely there is a way to have it not show up there.

    Ken? Syahir?

    In reply to: Pages?

    #17676

    Ha, thanks, doubtful.

    Look…I’m dialing in this slideshow paginated thing.

    http://juicytravels.com/best-air-travel-sites/5-cool-flight-trackers-easy-pag/

    So its a plug in that splits up your page, like “nextpage” sort of, but makes it a slideshow.

    Problem is you lose the advantage of SEO optimization per page, but, I think it’s a better user experience. So if you have a multi page thing you want to do, so far this seems like a decent solution but I’m still looking around. I can’t get WP Page Navi to work for anything. Have you tried that and gotten it to work? I can’t figure out why mine just won’t work.

    Someday I’ll actually get to do content!

    In reply to: Pages?

    #17674

    Ha I know 🙂

    I got it…

    http://juicytravels.com/bay-area-mini-vacations/

    }

    #sharethis {

    width:100%;

    float:left;

    text-align:center;

    margin-top:50px;

    }

    In reply to: Pages?

    #17671

    I think we’ve got it in the right place but do you know how to set the css so it’s always at the bottom of the page? Like I wish there were an align bottom of page kind of thing but I know there isn’t.

    In reply to: Pages?

    #17669

    By golly you’ve done it again:-)

    http://juicytravels.com/best-air-travel-sites/cool-flight-tracker-sites/

    That was a really helpful explanation of the hook thing. Thank you. I’ve read up on it and it was still confusing. That time it clicked.

    And look…it’s not showing up on the home page slider!

    http://juicytravels.com/

    They do all show up in that one pane below the slider which I’d like to stop from happening. Need to figure out how to control that space.

    But I’d still like to get them anchored to the bottom of the page…not sure what the css setting would be? Like so they are always just above the footer, and never in the white space to the right of the photo, know what I mean?

    http://juicytravels.com/the-ten-best-first-class-airline-experiences-today/the-ten-best-first-class-airline-experiences-today-1/

    and

    http://juicytravels.com/bay-area-mini-vacations/

    Getting close…yeay! Thank you!

    In reply to: Pages?

    #17668

    Ok thanks 🙂

Viewing 10 posts - 101 through 110 (of 312 total)