Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • @sueme

    Participant

    Sorted. Thank you r-a-y for pointing me in the right direction.

    I created a child theme, copied the header files into it. Changed the above two lines so they pointed to mysite.com instead of mysite.com/wordpress that they were originally pointing to.

    Thank you once again.

    I’m really pleased with your help, and with the result.

    Sue

    @sueme

    Participant

    All I need now is for the ‘Home’ link in the header to point to mysite.com it currently points to mysite/wordpress

    Anyone know how I change this?

    The bp theme header shows

    <div id="header">

    <h1 id="logo"><a>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>

    <ul id="nav">
    <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>
    <a>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>

    So presumably (says she with little knowledge) I need to change this to something else?

    @sueme

    Participant

    When I go direct to mysite.com it goes to my correct homepage and the default homepage tag is highlighted, but if I actually click on that tag it takes me to the mysite/wordpress folder list. weird!

    @sueme

    Participant

    I have checked the above instructions. I’m using the above code and my site is sorted except for the ‘Home’ Page.

    All my links, BuddyPress and the pre-existing WordPress links all open on the correct page except the ‘Home Page.

    I’m using BuddyPress default theme and when I activated it. it created a ‘Home’ tag that goes straight to the Mysite/WordPress folder and lists its content.

    I’ve created a static ‘Home’ page, and this to has created a ‘Home’ tag in the header that does actually go to the home page.

    So, currently, I’ve got two ‘Home’ links in my header, an incorrect one taking me to a folder list, and a correct one taking me to my home page.

    Is there a way of getting rid of the default home page, just leaving me with the new one I’ve created?

    @sueme

    Participant

    The Homepage link previously went direct to mysite.com and all my pages or blogs were at mysite.com/pagename.

    Now all the new BuddyPress pages go to mysite/wordpress/buddypresspage That’s OK

    All my previous pages and blogs still go to mysite/pagename That’s OK

    The only problem is my ‘Homepage’ which was showing my most recent blogs but now shows mysite/wordpress

    To be honest, I don’t know what would have happened if I’d gone to mysite/wordpress before, because nothing ever went to it!

    Just worked out that if I change ‘Settings – Reading’ to ‘Static Page’ instead of ‘Latest Posts’ then the ‘Home’ Link will go to it, so will use that as a work around for now. Would still like to get my home page back to ‘Latest Posts’ though.

    @sueme

    Participant

    Actually. It all works well EXCEPT.

    When the home page link is clicked, it goes to mysite/wordpess and lists everything in that folder.

    Do you know how to change this please?

    @sueme

    Participant

    Brilliant.

    Works well.

    Thank you so much.

    @sueme

    Participant

    I’m currently running an active site, and having followed the instructions in https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory I’ve got all my files in a mysite/wordpress file with everything in the wordpress folder but the index.php and .htaccess files in the home directory. that’s given the whole of my site a mysite address rather than a mysite/wordpress address.

    This sites been up a while and works well, but I’m having trouble getting BuddyPress to work on it. Whatever I try, I seem to end up with half the site still on mysite (whilst everything in mysite/wordpress is coming up unobtainable); or half the site on mysite/wordpress (whilst everything in mysite is unobtainable).

    There’s quite a bit of activity on the site, so I don’t want to start from scratch, but I would like to get BuddyPress on it. Has anyone worked out how to do this yet?

    I tried the solution at https://buddypress.org/forums/topic/permalinks-setup-with-wp-intalled-in-subdirectory-and-indexphp-in-root?replies=23#post-45920 (which is marked “Resolved”) but it didn’t work for me.

    @sueme

    Participant

    Didn’t get a reply so I tried it anyway. It didn’t work for me.

    1. The top of my page displayed the following message function my_bp_override_core_domain() { $domain = get_bloginfo('url'); return $domain; } add_filter('bp_core_get_root_domain','my_bp_override_core_domain')

    2. The buddypress folder still opened as mysite/wordpress rather than just mysite.

    @sueme

    Participant

    I’m currently running an active site, and having followed the instructions in https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory I’ve got all my files in a mysite/wordpress file with everything in the wordpress folder but the index.php and .htaccess files in the home directory. that’s given the whole of my site a mysite address rather than a mysite/wordpress address.

    This sites been up a while and works well, but I’m having trouble getting BuddyPress to work on it. Whatever I try, I seem to end up with half the site still on mysite (whilst everything in mysite/wordpress is coming up unobtainable); or half the site on mysite/wordpress (whilst everything in mysite is unobtainable).

    Am I right in thinking that I can simply add the following to wp-content/plugins/bp-custom.php or is it more complicated than this?

    function my_bp_override_core_domain() {
    $domain = get_bloginfo('url');
    return $domain;
    }
    add_filter('bp_core_get_root_domain','my_bp_override_core_domain');

    There’s quite a bit of activity on the site, so I don’t want to start from scratch, but I would like to get BuddyPress on it.

    @sueme

    Participant

    Sorted.

    You just need to insert !important in the CSS code just before the ; and it over-rides the original

    I created the child page as per https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    added an img folder and new image in that folder.

    in the css I put

    #header {

    background: url(full http url to new image.jpg ) !important ;

    }

    Thank you to both of you who pointed me in the right direction.

    @sueme

    Participant

    Modemloop

    Yes. I realise that.

    I was just trying to learn how to create a child theme, but didn’t understand the instructions about functions.php

    I thought I’d give my bloggers an opportunity to choose a theme with a different header color, rather than having to upload a new image.

    I thought that would give me the opportunity of learning a bit about child themes by changing the header colour, and that may point me in the right direction for changing other more difficult things later.

    Still don’t know how to create a child theme that has a different default header color, or about functions, but I do appreciate your replies and help thus far.

    Mrjarbenne

    Thanks for your suggestion.

    I’ve tried background: url(/www/wp-content/themes/themename/img/default_header_red.jpg)

    I’ve also deleted each of these folders in turn and resaved, but still not working.

    In the default theme functions.php there’s a line that starts #header { background-image: url

    So I’ve also used your suggestion but using background-image:url etc

    @sueme

    Participant

    Thank you for being quick.

    I’ve created a folder named img into my child theme, and placed default_header_red.jpg into it.

    I’ve added the css into style.css so that from line 8 it reads as follows:

    ‘Template: bp-default

    Tags: buddypress, two-column, grey, dark

    */

    /* Inherit the default theme styles */


    @import
    url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );

    /* Inherit the default theme adminbar styles */


    @import
    url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );

    #header {

    background: url( img/default_header_red.jpg );

    } ‘

    I’ve activated the Child Theme in ‘Site Admin’ and ‘Appearance’ but my header is still the same color.

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar