BuddyDev

Search

Shortcode for Buddyblog

Tagged: 

  • Participant
    Level: Initiated
    Posts: 11
    Van on #49110

    Thank you. I realized that it was necessary to include the choice of the category when publishing. I thought it would work without it.

    OK, then another question. Now, if you publish any news from the admin panel, they are published in the blog, and not on the pages of the site, how can this be changed?

    And one more question – is it possible to change the text of “buddyblog” to “blog” in blog links. And “my-posts” on “posts”?

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #49118

    Hi Van,
    I am glad it is working now.

    you may add following code to your bp-custom.php to make it work.

    
    		if ( ! defined( 'BP_BUDDYBLOG_SLUG' ) ) {
    			define( 'BP_BUDDYBLOG_SLUG', 'blog' );
    		}
    

    I am not sure about your other question as the posts are just normal WordPress posts. BuddyBlog does not do anything with their listing.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Van on #49167

    Thanks. But will this code be permanently deleted after the plugin is updated?

    And yet I do not understand how I can publish news and other entries from the admin panel of the site so that they are not in the blog. With any publication in the admin panel, all entries have the form https://site.com/users/user123/buddyblog/my-posts/26718 and when you click on the link, just the admin’s blog with the nickname user123 opens. why? How I can make that the entries from the admin panel are not related to the blog?

    • This reply was modified 1 year ago by Van.
  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #49179

    Hi Van,
    If you put it in your bp-custom.php, It will remain there and will not get affected by BuddyBlog updates.

    For the user url linking, Please disable showing post on profile and it will work.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Van on #49312

    Thank you)

    > For the user url linking, Please disable showing post on profile and it will work.

    How I can do it? Where?

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2933
    Ravi on #49322

    Hello Van,

    Please look at the following screenshot:

    https://tinyurl.com/25e9yank

    Please give it a try.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: not resolved