qazwsx

Participant

Forum Replies Created

  • In reply to: insert javascript code

    #22139

    @Josh

    I’m not using the iframe or the embed code to make the google map. I need to have a map made from an external file and have a side bar with the map. Like the one that is linked above.

    Embedding a map from the iframe or embed code works nice and easy. But getting that sidebar to work with the map seems to be very difficult. It seems that in order to have a sidebar with the map that pulls the info from the map, the map has to be made with the Maps API. Which is fine for a html website. But for some reason every time i try (many different ways) to put that code into wordpress the map breaks in many different ways.

    In reply to: insert javascript code

    #22137

    What im trying to do is insert google maps into a page. I’ve done this before in plain websites (html). But i’ve been unable to do it in a webpage that is done with wordpress. An example of what im trying to build is:

    http://www.barlowchristmas.com/map.php

    In reply to: insert javascript code

    #22135

    I know where to put the code on a HTML site. What I’m asking is can I put it in with the google analytics code theme options or do a action hook on the google analytics one and put the code in that widget?

    In reply to: next-post-link in same category

    #21899

    I’ve got it working. What I’ve done is add category browsing under the blog post nav. Also, made it where on a single post id, only the category browsing is able to be done.

    code 1st widget:

    <div style="text-align:center;">Blog Post Navigation</div>

    <div style="clear:both;">
    <p id="previous">« <?php previous_post_link('%link','%title',TRUE); ?></p>
    <p id="next-post"><?php next_post_link('%link','%title',TRUE); ?> »</p>

    <div style="text-align:center;">Category

    <?php
    $category = get_the_category();
    echo $category[0]->cat_name;
    ?>

    Post Navigation</div>

    </div>

    Code 2nd widget:

    <style type="text/css">
    #previous, #next-post{
    display: none;
    }
    #cat-previous-post {
    float: left;
    margin-left: 8px;
    }
    #cat-next-post {
    float: right;
    margin-right: 8px;
    text-align: right;
    }
    #cat-previous-post, #cat-previous-post a, #cat-previous-post a:visited, #cat-next-post, #cat-next-post a, #cat-next-post a:visited {
    color: #929292;
    font: 12px tahoma;
    text-decoration: none;
    }
    </style>

    <div style="clear:both;">
    <p id="cat-previous-post">« <?php previous_post_link('%link','%title',TRUE); ?></p>
    <p id="cat-next-post"><?php next_post_link('%link','%title',TRUE); ?> »</p>

    <div style="text-align:center;">Browse different years of Officers</div>

    </div>

    Thank you Ken for showing me the 2 plugins needed to make this work:

    PHP widget

    Widget logic

    In reply to: next-post-link in same category

    #21896

    I’ve got it working, just have to work on the style. But how would i remove the auto nav and have this there only?

    In reply to: next-post-link in same category

    #21894

    Ken,

    is

    <?php /* Posts navigation for single post pages, but not for Page post */ ?>
    <?php if ( is_single() && ! is_page() ) : ?>
    <div class="post-nav clearfix">
    <p id="previous"><?php previous_post_link('%link','%title',TRUE); ?></p>
    <p id="next-post"><?php next_post_link('%link','%title',TRUE); ?></p>
    <?php do_action('graphene_post_nav'); ?>
    </div>
    <?php endif; ?>

    the php for the widget? I can put plain text in the widget and it goes in the correct place on the page, but the php code doesn’t do anything.

    In reply to: next-post-link in same category

    #21892

    Thank you Ken, I’ll try this over the weekend and let you know how it goes.

    In reply to: next-post-link in same category

    #21890

    Doing previous_post_link('%link','%title',TRUE) works great in the loop.php file.

    but I am not wanting to make the change in the loop.php file as it will be deleted during the next update of graphene.

    In reply to: Opinions Wanted! ThingsThatDontSuck.info

    #20685

    Nice site. Your background of your rss feed & other icons at the top with the rss feed are to big for the area sized to them. When you scroll over them, a small black line appears above the icons in a way that that is unexpected with most sites.

    Also, get ride of the flying ad that comes up when you first go to the site. The ads on the side of the page are well placed and the flying ad takes away from the nice clean look and feel of the site.

    Site looks nice.

    In reply to: "Hidden" Page??

    #20567

    Glad to see you got it working with a custom menu for top & footer. Its a good way to order your menu and pick which pages you want to display. Just make sure you have all the options turned on from the little drop down from the top right side of the menu page. ( to show link, title, desc, ect…)

Viewing 10 posts - 11 through 20 (of 50 total)