Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter cappware

    (@cappware)

    I’m guessing an image will have to be used because she has visions of wanting it to look like a cork board.

    Thread Starter cappware

    (@cappware)

    That would be highly appreciated.
    Here is the page:

    http://www.hcrhomehealth.com/about-us/testimonials/

    Thread Starter cappware

    (@cappware)

    Oh, well maybe not. It did set a custom background to the individual page. But was not what I was expecting.

    I was hoping to get the background behind the text, within the actual page itself to have a background image.

    All this did was wrap the outer border of the site in an image like this: http://gyazo.com/fd655433e2e855adda3ce1198ad03bf9

    On the right track, but need to be able to change the inside-text box background.

    Thread Starter cappware

    (@cappware)

    That sounds exactly like what I was looking for. Thank you for sharing it!

    Thread Starter cappware

    (@cappware)

    thank you for your response, I appreciate it.

    I am going to tell her it’s not possible because I have no idea what you just said. lol 🙂

    No disrespect intended either. Was hoping there was a plug in, or setting somewhere within the editor.
    I know enough about web-coding to read someone else code, to an extent. I know less about CSS.

    Here is the first class for that page:

    <body class=”home page page-id-8 page-template-default logged-in admin-bar no-customize-support”>

    Thread Starter cappware

    (@cappware)

    Looking at the page source code, under the <body section, there are a lot of things that say “Class”.

    What are you looking for?

    Thread Starter cappware

    (@cappware)

    I’m not even sure what you are asking. I know enough to get into where you are referring, but how will I know there is any unique classes? Again, super-novice here.

    Thread Starter cappware

    (@cappware)

    Am I doing something wrong by asking for additional help with this?

    I’ve commented twice now to see it is gone.

    Can anyone look at my code above and see if I am doing it wrong? I’ve tried following the examples provided, but they seem to all assume I can already create my own theme or widgets. I’m a newcomer to the world of WordPress and need help.

    Thread Starter cappware

    (@cappware)

    Alright, I have begun to try this myself. Since its not a live site, I can afford to mess it up and start over if needed. Below is what I’ve done so far going by all the examples and tutorials. But it does not work.

    Going by the example in the link I put in the first post, I added this code to my functions.php

    register_sidebar(array('name'=>'RememberMe', 'before_widget' => '<li class="widget" id="%1$s">', 'after_widget' => '</li>',	'before_title' => '<h2><a href="#" rel="nofollow" class="sidebartitle">', 'after_title' => '</a></h2>'));
    register_sidebar(array('name'=>'WatchYourIP', 'before_widget' => '<li class="widget" id="%1$s">', 'after_widget' => '</li>',	'before_title' => '<h2><a href="#" rel="nofollow" class="sidebartitle">', 'after_title' => '</a></h2>'));

    Then, at the bottom of the Functions.php file, I added this:

    function getTopParentPostName($myid) {
    $mypage = get_page($myid);
    
    if ($mypage->post_parent == 0){
    return $mypage->post_name;
    }
    else{
    return getTopParentPostName($mypage->post_parent);
    }
    }
    
    function is_tree( $p_name ) {    // $p_name = The page we're looking for pages underneath
    global $post;       // We load this as we're outside of the post
    $top_post_name = getTopParentPostName($post);
    
    if ( $p_name == $top_post_name ) return true;
    else return false;
    }

    I added this to my Sidebar.php

    if ( is_tree('rememberme') ) {
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar( 'RememberMe') ) { $generic_sidebar = true; }
    }
    elseif ( is_tree('watchyourip')) {
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar( 'WatchYourIP') ) { $generic_sidebar = true; }
    }
    Thread Starter cappware

    (@cappware)

    Update, after some searching, I found at least the parts of the code mentioned in the article I posted in the first post.
    But, I know that just throwing in someone else’s code will more than likely screw something up.

    Here is the basics of what I want:
    1) User clicks on page
    2) Sidebar shows links to all sub-pages for that page
    3) All sub-pages show those same links, like a mini nav menu?

    Please help me

    Thread Starter cappware

    (@cappware)

    I did download a free theme. I installed and configured the Intrepidity theme because it fits my business colors best.

    I read through those articles and recall seeing this quote a time or two: “If you can’t answer these questions, maybe someone will be nice enough to help you on the forums”

    Well, that is why I am here asking for help. I read a lot about these before posting my question. It seems these articles assume you already know how to build a theme/widgets from scratch. I don’t.

    Using my existing theme (Intrepidity), I have no idea where to start with doing this.

    Thread Starter cappware

    (@cappware)

    Thanks for the links…but, what do they mean. As I said, I’m new to this.

    The info in those links is really confusing.

    Thread Starter cappware

    (@cappware)

    Ok, if I adjust the Sidebar width down to say 220px and add the 55 to left-col width at 671px, the right sidebar shrinks ok, but it cuts off part of the graphics for the sidebar widget header. Nothing but an aesthetics thing, but it does work.
    That does seem to at least widen the page a little bit though.

    Thank You.

    Now, does anyone have any input about an updated way to do dynamic sidebars or the other questions?

    Thread Starter cappware

    (@cappware)

    OK, after reading through both posts, I’m still completely lost. All the files and functions they mention, I can’t find any trace of in my theme. The screenshot examples are for older builds so they look completely different too.

    I don’t want to have to completely alter the code of the theme just to get it to work if possible, but i can’t find another theme that looks of functions like I need it too.

    I’d like to have the option of a sidebar for various things, and a dynamic sidebar that changes per page would be great, but I haven’t a clue as to how to do that.

    Anybody have any suggestions or comments on my other 2 questions?
    Thank You

    Thread Starter cappware

    (@cappware)

    Awesome. I’ll read over those articles and see if that is what I want to do. They are a tad confusing as I’m very new to web coding and some of the examples use an older version of WordPress so the interface looks different. I’ll definitely jump back on here if I decide to take that route.

    How would I go about just shrinking the sidebar a bit and increasing the main column? I’m assuming to use the second line you posted, but don’t know what I’d use to decrease the size of it.

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