Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 22 replies - 76 through 97 (of 97 total)
  • @mikey3d

    Participant

    @hnla, It works! :-)

    Thanks, Mikey3D

    @mikey3d

    Participant

    It almost did works but…

    There are two conflict codes for my title (/plugins/bp-custom.php) and your remove hyphens (/themes/my theme/function.php). The problem is your codes it only remove hyphen and it does not remove the first lowercase letter of second word. Ex:

    The words New York:

    1.) My title of category is “Category » New-york | My blog”

    2.) Your remove hyphen title of category is “My blog| Blog | Categories | New york”

    Can these codes put together in bp-custom.php if it could have two words with space, capital letter and my ways of doing the titles?

    Thanks for your help, Mikey3D

    @mikey3d

    Participant

    Is there a patch?

    @mikey3d

    Participant

    Thanks, @rogercoathup & @hnla.

    Can I have a patch?

    Thanks, Mikey3D

    @mikey3d

    Participant

    @rogercoathup,

    Please add category “New York” and tag “Long Island” for “Hello world!” in your post.

    http://playground.21inspired.com/

    Thanks, Mikey3D

    @mikey3d

    Participant

    I’m talking about Title Tag, not h3 tag.

    Not h3: You are browsing the archive for New York.

    Title Tag: My blog | Blog | Categories | New-york

    @mikey3d

    Participant

    “There is something wrong in your set up. The default installation/theme shows the title tag with spaces between the words.”

    I have install WordPress and BuddyPress as clean as pure water. Trust me, it is the BuddyPress problem.

    “Are you using the default theme unmodified?”

    Default theme

    “Have you got any additional plugins running?”

    No! Only BuddyPress and I have added bp-custom.php from the last time we talked. I disable bp-custom.php.
    https://buddypress.org/community/groups/requests-feedback/forum/topic/no-title-of-each-posts-and-pages/

    The problem is still the same.

    Thanks, Mikey3D

    @mikey3d

    Participant

    Look at the Title Tag for Category New York:
    [Edit/URL]

    Look at the Title Tag for Tag Long Island:
    [Edit/URL]

    @mikey3d

    Participant

    Great, it does the trick!

    Can it apply another filter for homepage title with description? The description is setting in General Settings of Tagline.

    The homepage title is Home | My blog.

    Can the title with description be: My blog | Knowledge is power

    Thanks, Mikey3D

    @mikey3d

    Participant

    Thank you for stick with me. Roger.

    It works! OK, now I’m trying to reverse the title tag after go to see the pages.

    In bp-custom.php, the code:

    if ( is_single() ) {
    $title = __( ‘Blog | ‘ . $post->post_title, ‘buddypress’ );

    Change to:

    if ( is_single() ) {
    $title = __( $post->post_title, ‘buddypress’ );

    This result I get for title tag: My blog | Hello world!

    I want to reverse the title like: Hello world! | My blog

    How could I do that?

    Thanks, Mikey3D

    @mikey3d

    Participant

    “Don’t just cut and paste my comment and edit in the word “NOT” – it will confuse people.”

    Not true, I edit words “the post”, “BUT” and “NOT.”

    I’m sorry that you thought it will confuse people. I didn’t cut and paste your comment so therefore I altered your comment to my comment without quote. The quote means it’s your comment. Without quote it means my comment.

    “On my default installation post titles DO work correctly, but page title don’t work.”

    My post titles DO NOT work correctly. The post title is “My blog | Home”

    My page title DO NOT work correctly. The page title is “My blog | Home”

    “If they don’t work on your installation, please make this clear in your reply. I’ll have to leave you to figure out why that is giving a problem on your install, or someone else to step in with thoughts.”

    There is no problem in my installation. The WordPress is fine and after install BuddyPress is fine too but the title tag is incorrectly. So that means it is BuddyPress problem. You just admitted:

    “You are right about pages though: pages such as About are not getting the correct title tag set. I’ll report this as a separate thread.”

    I use:

    WordPress 3.0.1
    BuddyPress: Version 1.2.5.2
    Theme: BuddyPress Default 1.2.5.2

    Thanks, Mikey3D

    PS: There is some confusing with words “post title” and “page title.”

    My thought of “post title” is after you click the headline link on the FrontPage to see the page and the title tag is the post title tag.

    My thought of “page title” is after you click the “About” navigation link to see the page and the title tag is the page title tag because it‘s a static page.

    I’m not talking about H1, H2 for title.

    @mikey3d

    Participant

    In my default installation, the post is working correctly: posts like “Hello World” BUT they are NOT getting the title of the post added to the title tag (albeit at the end of the string)

    Look at this URL: [Edit]

    I see the title tag is “My blog | Home” – what do you see?

    “You are right about pages though: pages such as About are not getting the correct title tag set.

    I’ll report this as a separate thread.”

    Thank God! I hope you get this. I think you are using wpmu, I use wordpress.

    Thanks, Mikey3D

    @mikey3d

    Participant

    I’m glad you did ask. That is where bottom line is the whole point of this discussion. Anyone who installs BuddyPress will have no headline in their title tags of each post and page. Ex:

    The post is “Hello world!”
    The title tag is “My blog | Home”
    The headline is “Hello world!”
    The title tag with headline is supposed to be “Hello world! | My blog”

    The page is “About”
    The title tag is “My blog | Home”
    The headline is “About”
    The title tag with headline is supposed to be “About | My blog”

    The BuddyPress’s title tags are so very wrong with its. I can’t believe no one knows about it.

    I have not mention about Meta title and h1, h2 tags. Only about title tags.

    Thanks, Mikey3D

    @mikey3d

    Participant

    OK, I did change from bp to mikey like…

    //


    function mikey_page_title() {
    echo mikey_get_page_title();
    }

    function mikey_get_page_title() {

    /////

    return apply_filters( ‘mikey_page_title’, $blog_title . ‘ | ‘ . esc_attr( $title ), esc_attr( $title ) );
    //



    And I did change the header.php of title tags:

    mikey_page_title()

    Its works! OK, but where and what is the code for headline posts and pages?

    Thanks, Mikey3D

    @mikey3d

    Participant

    I put the code in bp-custom.php from between line 896 to 950 in bp_core_templatetags.php and I get an error…

    Fatal error: Cannot redeclare bp_page_title() (previously declared in /path-to/wp-content/plugins/bp-custom.php:3) in /path-to/wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php on line 898.

    Here’s the code I put in bp_custum.php:

    function bp_page_title() {

    //CUSTOM CODE FROM BP_CORE_TEMPLATETAGS,PHP
    //between line 893 to 948

    return apply_filters( ‘bp_page_title’, $blog_title . ‘ | ‘ . esc_attr( $title ), esc_attr( $title ) );
    }

    How would I code what I want but the default one doesn’t work to begin itself with no headline title of posts and pages?

    Thanks for helping, Mikey3D

    @mikey3d

    Participant

    Would you be happy that I use BuddyPress without headline title posts and pages? It’s after midnight, I’m going to bed. Who knows what will tomorrow bring.

    @mikey3d

    Participant

    Thanks for helping, Roger,

    What is the code for bp_custom.php file or function.php file that will works as WordPress title?

    WordPress title for “Hello world!” is…

    Hello world! | My blog

    BuddyPress title for “Hello world!” is…

    My blog | Home

    How could anyone possible use BuddyPress plugin for WordPress without having a headline for title of each their own posts and pages? What is so wrong about this simple problem?

    @mikey3d

    Participant

    I have been waiting 24hrs to get this sort out.

    @mikey3d

    Participant

    Please, I need to get this done now.

    @mikey3d

    Participant

    When I have installed WordPress 3.0.1 and I clicked the “Hello world!” post and the title tag is fine like…

    Hello world! | My blog

    When I have installed BuddyPress 1.2.5.2 and I clicked the “Hello world!” post and the title tag is WRONG like…

    My blog | Home

    Who is the responsible the core of BuddyPress title tag that has no headlines every posts and pages? Did Matt Mullenweg know that your BuddyPress altered the title tags of WordPress?

    @mikey3d

    Participant

    Every new posts and pages are going to be exactly the same titles. If you have hundreds or millions pages it will look like this “My blog | Home” in every search engines, bookmarks and browsers…

    Why?

    @mikey3d

    Participant

    “I suggest you install the SEO buddypress plugin. It’s gives you control over the titles.”

    I knew you would say that but I don’t want plugin SEO BuddyPress. It has to be in core BuddyPress or function. WordPress does fine with titles. I don’t want to bother the contributors to do SEO title.

    How BuddyPress can miss the most important thing the title? Is there other solution?

Viewing 22 replies - 76 through 97 (of 97 total)
Skip to toolbar