Forum Replies Created

Viewing 15 replies - 1 through 15 (of 94 total)
  • Well, I’m sorry,
    I didn’t think about creating posts, I assumed there were some, sorry…

    Anyway I’m glad you solved it by yourself, and for sure you will have lots of help just reading some documentation about WordPress, as well as looking through the support forums.
    In years, with these resources, I found at least one answer to almost every question or issue I’ve had.

    All the best

    Hi,
    the plugin you linked above simply adds a search form to any registered navigation menu in your theme. It adds it wrapped into a <li> tag at the end of menu items.

    The theme you’re using, Duena, also adds a search form in the header, so you have the two, and to have only one you need to deactivate that plugin or remove the search form from the header.

    If you already made a child theme, which would be the best way to do, you could simply deactivate the plugin, create a copy of header.php to your child theme directory, and move the search form where you need.

    Then, as @dmbarber suggested, it’s just some css to style it the way you want.
    I tested with these changes

    /* Search */
    .searchform {
      float: right;
      padding-right: 50px;
    }
    .searchform .field {
      width: 100%;
      margin: 0;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      height: 35px;
      border-radius: 20px;
      padding: 7px 30px 8px 15px;
    }
    .searchform #searchsubmit {
      vertical-align: top;
      position: relative;
      left: 86%;
      bottom: 33px;
      background: url(images/top-search-submit.png) no-repeat 0 -1px;
      border: none;
      width: 35px;
      height: 30px;
      box-shadow: none;
      overflow: hidden;
      text-indent: -100px;
      font: 0/0 a;
      color: transparent;
      -webkit-transition: all 200ms linear;
      -moz-transition: all 200ms linear;
      -o-transition: all 200ms linear;
      transition: all 200ms linear;
    }

    and seems what you were…searching!!

    hope it helps

    Glad you solved this way,
    don’t forget to mark this thread as resolved,

    all the best!

    Ok, so you need to make a category-jobs.php template into your child-theme dir, some infos explained in template hierarchy; then for what you’re doing you can use wp_list_categories function, which is quite versatile, and call it twice each with different args for including/excluding categories from each section (Teaching Jobs in Asia / Other continents).

    When you will be on this specific category template, you will have this list, while in other
    categories the archive.php template of your parent theme will be called instead.

    Give it a try, and of course you need a little css to style it the way you need.

    Hello,
    maybe the easiest way to do this is using thickbox, a script included within WordPress.
    At the end of the page there is an example that may fit your needs.

    Hope it helps you..

    Hi,
    right now you have TWO search forms on this site.
    If you remove the one you added in your “topnav” menu, and keep just the one that is just after
    <div class="navbar_inner">
    then just need to add something like this to you css:

    .searchform {
      float: right;
      padding-right: 15px;
    }
    .searchform #searchsubmit {
      padding-right: 15px; //or whatever value you need
    }

    Hope it helps, cheers

    Hello,
    if I understand your question, you can edit a category.php template and add this count wherever you need, using get_the_category function to pull out the category_count value.

    something like this example modified

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

    wrapped in an html tag of your choice.

    Hope it may help you, cheers

    Try first to refresh your permalinks, to see if it solves the 404 error.
    To do this, just go in Settings menu -> Permalinks, and click save changes. (you should have “post name” checked).

    Then try to create your page, and see if it does it.

    …struggling to set up the simple WordPress blog site on this URL

    you mean your Blog-TEST page? What exactly do you want to achieve? If you want your new posts to show in this page instead of your home page, you need to set this behaviour in the reading settings

    Anyway, in the Codex pages there is a lot of documentation about setting up and configuring a site.

    Hope these links may be of help

    Hello,
    try deactivating your plugins one by one first, and see if it solves it.
    Seems like you have a plugin called “archive” installed which may be the cause for the issue.

    Hi, may be get_attachment_link()?

    Hello,
    did you mean “Older Articles” black button?
    You need to override one of your theme functions.
    For doing this the best and recommended way is to create a child theme first, then create a functions.php file to your child theme dir, and write a function athemes_content_nav in your child theme functions which overrides the parent theme.
    You could copy all the function from functions.php of your parent theme and change only this part, where you can see the text displayed within the button:

    <?php elseif ( $wp_query->max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
    
    		<?php if ( get_next_posts_link() ) : ?>
    		<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav"><i class="ico-left-open"></i></span> Older Articles', 'athemes' ) ); ?></div>
    		<?php endif; ?>
    
    		<?php if ( get_previous_posts_link() ) : ?>
    		<div class="nav-next"><?php previous_posts_link( __( 'Newer Articles <span class="meta-nav"><i class="ico-right-open"></i></span>', 'athemes' ) ); ?></div>
    		<?php endif; ?>
    
    	<?php endif; ?>

    Hope it helps, cheers

    Hello,
    you need to unregister sidebars first, then you can register your sidebars with the changes you need.

    Hi, there are some pages from the Codex which I’m sure can help you:

    Query_Overview
    Action_Reference/pre_get_posts
    Function_Reference/is_main_query
    Class_Reference/WP_Query
    WordPress_Query_Vars
    – also directly look in core file wp-includes/query.php

    there are different examples which you can adapt with appropriate conditional tags to fit your needs.

    in your case, taking the example from is_main_query and modifying a little: (didn’t test)

    function search_query_include_category( $query ) {
        if ( ! is_admin() && $query->is_search() && $query->get( 'cat' ) )
            $query->set( 'cat', '1,2,3' );
    }
    add_action( 'pre_get_posts', 'search_query_include_category' );

    and change conditions to include categories rather than exclude them, and if you need it, to restrict this kind of search only to happen within specific pages or areas.

    I spent some time reviewing and tryin’ out code examples found in the links I gave you above, and those are, for me, reference pages priceless utility when customizing functions and behaviours in a theme or a child-theme.

    hope those may help you too, cheers!

    Wait, wait, wait….
    COMMENTS RE-APPEARED, 404 seems to be gone, I’ve tried posting comments from different browsers (chrome, safari and firefox), and it redirects well now, accepts the comment, and I can see older comments too.

    seems this thing is resolved, semms YOU resolved it…! ??

    If it is like that, post back your solution for others may have the benefit of reading it.
    What was then?

    Hi trinig,
    well, really I don’t know then…. ??
    jquery is a javascript library for making interactions and other stuff within a theme or a plugin, WordPress ships with its own copy,
    What I’ve seen is that in you page there were two jquery libraries called, and one was version 1.7.1 (I think I remember that…) and was called from that widget you removed, “shop my stuff”.
    So when there are two different versions of the same files this may lead to some conflicts. But I don’t know if this is your case.

    What I would do is to make an export of posts and pages from within wordpress, make also a complete backup of database and files, then reinstall manually the latest wordpress version, and check if this problem is gone.
    If it is, then reinstall latest version’s theme and plugins used before, one by one making a single test for each step.

    Here are some resources for Upgrading WordPress as well as advanced infos on this topic

    I’m sorry I couldn’t help you right now, you can try to wait a little if someone had this same issue resolved and answers to this thread, otherwise try this last step that should fix it, but surely taking some more time and some effort to do it precisely without problems…

    Good luck, hope you solve it!!! Feel free to ask more if you need, as far as I can suggest something useful I will do it..

Viewing 15 replies - 1 through 15 (of 94 total)