Forum Replies Created

Viewing 12 replies - 46 through 57 (of 57 total)
  • Thread Starter sagive

    (@sagive)

    Anyone? please help if you know how..
    can’t find the answer online

    wow – a gr8 solution ??
    10x man.. gona use it for multiple themes!

    Thread Starter sagive

    (@sagive)

    10x a bunch guys ??

    Thread Starter sagive

    (@sagive)

    anyone? maybe a give me a link to info

    Thread Starter sagive

    (@sagive)

    wow.. i see it now…

    didn’t noticed this at all even tough
    i stared at the code for a good while..hehe

    you totally saved me
    i entered <?php bloginfo(‘siteurl’); ?> in thier
    and it works!!

    Thanks a bunch hope i could repay you someday ??

    Cheers, Sagive

    Thread Starter sagive

    (@sagive)

    tried to edit but didnt find how..
    this is the right searchfrom code

    <form role="search" method="get" id="searchform" action="https://israelguide.org/">
    <div>
    	<input type="text" value="" name="s" id="s" /><br />
        <input type="submit" id="searchsubmit" value="Search" />
    </div>
    </form>

    since my last message i have changed the home page to static page
    instead of a pure php i wrote my self.. so now its a system page..
    its better right?

    but.. that didnt help ??
    i am stuck… HELP (plz)

    Thread Starter sagive

    (@sagive)

    wow your right.. but.. i changed it and it didnt help ??

    here is the searchform.php current code:

    <form method="get" id="searchform" action="<?php bloginfo('siteurl'); ?>">
    <div>
    	<input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /><br />
        <input type="submit" value="?????" id="searchsubmit" />
    </div>
    </form>

    here is a link to an inner page:
    inner page

    here is a search term you can paste to the field: ???????

    maybe the problem is that i dont have any wordpress code embedded in the home page but i dont want to integrate any..

    if i would make a searchresults.php page – would it matter?

    Thread Starter sagive

    (@sagive)

    when i search from a single post its simply
    redirect me to the home page

    (which has no wordpress elements)

    also after i enter a search term the url of the
    page stayes with the adress of the original single
    post i searched from page plus the ending ?s=term

    by the way.. this is the search.php script i got

    <ul class="list-category">
    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
    <div class="categorypost">
    <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    <div class="entry">
    <?php the_excerpt(); ?>
    
    <p class="postmetadata">
    <img src="<?php bloginfo('template_url'); ?>/images/mini-category.jpg" alt="????? ????" style="vertical-align: text-bottom"> <?php the_category(', ') ?><?php edit_post_link('?????', ' | ', ''); ?><br>
    
    <img src="<?php bloginfo('template_url'); ?>/images/tags.jpg" alt="????? ????" style="vertical-align: text-bottom"> <?php the_tags( '' . __('', '') . ' ', ', ', ''); ?><br>
    
    <?php if (pings_open()) : ?><span id="trackback-link"><img src="<?php bloginfo('template_url'); ?>/images/link-arrow.jpg" alt="?????" style="vertical-align: text-bottom"> <a href="<?php trackback_url() ?>" rel="trackback"><?php the_title('', ''); ?></a></span><?php endif; ?>
    </p>
    </div>
    </div>
    
    <?php endwhile; ?>
    <?php endif; ?>
    
    </ul>

    is it looking for some specific page to display results in?
    and why does it work when i search from home page but not
    from othere pages…

    i think you should open a default wordpress template
    and check the difference between the index.html
    to single.php which is usually on several lines of code

    Basicly the template is build like this

    HEADER PART

    MAIN BODY PART & sidebar included

    FOOTER..

    so when u combine this with a different design you
    need to start with embedding the header meaning title
    and description tags.. sometimes pages menu and such

    and in center page meaning MAIN BODY PART
    you place the right code that oredrs the system
    to send back information that fits the page type..

    that command and the information it returns is called
    “the loop”

    you can enter a php order to return a single post information
    or a category information or an archive infromation..

    start by checking a default template to learn the differences

    Forum: Fixing WordPress
    In reply to: help with img src
    Thread Starter sagive

    (@sagive)

    geez.. found it on a different template ??

    here it is for others lost like me

    img src=”<?php bloginfo(‘template_url’); ?>/images/icon-1.gif”

    Thread Starter sagive

    (@sagive)

    Thanks a bunch.. ??

    Thread Starter sagive

    (@sagive)

    geez, how didnt i try that

    Thanks a lot vtxyzzy… very helpful ??

Viewing 12 replies - 46 through 57 (of 57 total)