Forum Replies Created

Viewing 15 replies - 316 through 330 (of 335 total)
  • Forum: Plugins
    In reply to: lightbox doesn’t work

    try hard coding the call to the javascript and css with full urls

    eg

    <link rel="stylesheet" href="https://www.domain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />
    	<script type="text/javascript" src="https://www.domain.com/wp-content/plugins/lightbox/js/prototype.js"></script>
    	<script type="text/javascript" src="https://www.domain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script>
            <script type="text/javascript" src="https://www.domain.com/wp-content/plugins/lightbox/js/lightbox.js"></script>

    then add rel="lightbox" to your image code

    eg
    <a href="https://www.domain.com/wp-content/images/pic.jpg" rel="lightbox" title="pic"> <img src="https://www.domain.com/wp-content/images/pic.jpg" alt="pic"/></a>

    Thread Starter Alex Cragg

    (@epicalex)

    bumpety bump

    just realised this is pretty much geoffe’s suggestion, but puts the css in your normal file, and you don’t need to enter it specifically for each li

    if anyone is still interested, or hasn’t found it in another topic, ive found an ‘easy’ way to sort this.

    in wherever you want the list to display make your li tags like this:

    <ul><li id=boy>fred</li>
    <li id=girl>jane</li></ul>
    
    this then makes each link dependent on whether it is a boy or a girl, and different images can be displayed...so
    
    ...on your stylesheet add

    #boy {background: url(..boy.png) padding:xxx;}
    #girl {background: url(..girl.png) padding:xxx;)`

    you then need to change the specific padding to fit the image in:

    #cronies ul li {padding: 0px 0px 0px 10px;}

    this id is the one for where your list is, the equiv to sidebar, navigation etc etc

    hope this helps

    Forum: Your WordPress
    In reply to: any improvements?
    Thread Starter Alex Cragg

    (@epicalex)

    AJAX is now working, but im not currently running it as its not valid XHTML,

    but still, what do people think of my site?

    Thread Starter Alex Cragg

    (@epicalex)

    i’m pretty sure that’s what i’ve done, but i’m still getting errors,
    see here for errors:
    https://jigsaw.w3.org/css-validator/validator?uri=https://www.epicskitours.com/

    this is the head section of my header file where the css is called

    <link rel="stylesheet" type="text/css" title="Default Style" href="<?php bloginfo('stylesheet_url'); ?>" media="screen, projection" /> 
    
    <!--[if IE]>
    <style type="text/css">
    @import "https://www.mydomain.com/wp-content/themes/epic/styleIE.css";
    </style>
    <![endif]-->
    	<link rel="stylesheet" href="https://www.mydomain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />
    	<script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/prototype.js"></script>
    	<script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script>
            <script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/lightbox.js"></script>
    	<?php wp_head(); ?></head>

    i hope people can help, i really want to get this site validated properly

    Forum: Your WordPress
    In reply to: Brand new theme
    Alex Cragg

    (@epicalex)

    i agree, get rid of the close function, or at least let us open it back up again, cause its java, pressing back doesnt work…i ended up with a grey screen with nothing on it, which isnt the best way keep my attention ??

    Alex Cragg

    (@epicalex)

    hey, cool theme, some improvement with graphics and this could be really cool

    things like more rounded edges, everything looks a little flat

    and the most petty thing ever….but….your folded over page corners are actually impossible…that is to say that the horizontal is longer than the vertical, try it with a
    piece of paper…!!! i guess its one of those things that you are so used to seeing, that when its different, its noticeable, to me anyway!!!

    good luck

    Forum: Your WordPress
    In reply to: Really need help!
    Alex Cragg

    (@epicalex)

    that is pretty cool, the third one i mean. and its def the best.

    can i ask, how did you get the images on your sidebar, its been something ive been thinking about doing for a while, any tips?

    nice theme

    Forum: Your WordPress
    In reply to: any improvements?
    Thread Starter Alex Cragg

    (@epicalex)

    oh, and can anyone tell me why i cant get ajax working on this site? tried the google ajax search, and the ajax theme switcher from dan cameron, but neither work, and i know its my theme, cause ive got it to work on another theme

    Forum: Your WordPress
    In reply to: Is this too light?
    Alex Cragg

    (@epicalex)

    i too like the minimalism…but would a minimalist theme have a font like yours? i have no suggestions, but maybe find something a bit squarer and bolder.

    on the up side, grey on white is better than black on white, which would look absolutely pointless…

    Thread Starter Alex Cragg

    (@epicalex)

    which file should i be putting that into? and do i have to define what the_excerpt and the_title are? if so where? Found this as on another post…which im assuming would work so that if it was search results it displays excerpt, and if it was normal view it would show the content, but where should that go?

    <?php if ( is_search() ) {
    the_excerpt();
    } else {
    the_content();
    } ?>

    Thread Starter Alex Cragg

    (@epicalex)

    not entirely sure, cause ive been playing round with it so much…and not properly sure of order, but it was somethgin like this

    i know i did the following

    1. made sure that i included the following in my sidebar.php
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>
    ————
    <?php endif; ?>
    and made sur it was inside the <div></div> markers(think i put it before the <div> before.)

    2. Installed King_framework and king_pages

    3. Changed some title_li tags to title_ul tags in the king_pages.php cause it wasn’t following my theme, except in the header.

    4. King Pages also allows you to exclude certain pages from the sidebar and also to put them in several different orders, i chose id.

    5. removed ‘pages’ from the fold_page_list.php because it was appearing in between my nav bar title and the page list

    function wswwpx_fold_page_list ($args = ”, $fullunfold=false) {
    parse_str($args, $r);
    if (!isset($r[‘depth’])) $r[‘depth’] = 0;
    if (!isset($r[‘show_date’])) $r[‘show_date’] = ”;
    if (!isset($r[‘child_of’])) $r[‘child_of’] = 0;
    if (!isset($r[‘title_li’]) ) $r[‘title_li’] = __(‘ ‘); <——–here
    if (!isset($r[‘echo’]) ) $r[‘echo’] = 1;

    5. Changed the css to get rid of some bullet points that had appeared
    #navigation {float: left;list-style: none;}

    think thats about right, maybe there was another step between having an unformatted list and having a formatted list with pages stuck in the middle, but cant remember.

    thanks, hope that builds to your knowledge, and that you understand it more than i did!!!!

    Thread Starter Alex Cragg

    (@epicalex)

    brilliant, now displays posts and pages. wahoo.

    now…

    how do i format the results to display a title and a snipet? instead of every page one after the other for ever and ever down the page,

    thanks again

    PS, using searcheverything one by dan cameron

    Thread Starter Alex Cragg

    (@epicalex)

    sorted

Viewing 15 replies - 316 through 330 (of 335 total)