BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 90

    Hi Brajesh!

    I hope you are enjoying a great weekend! Any updates for me on this? I need custom post type shortcode to work and I think the code needs to be tweaked a little.

    Thank you,

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Well I just deleted it and reverted back to original, but the name was called ‘College Homes’. Actually there were two columns ‘Post Type’ and ‘Name’ – I’m using a third party plugin to achieve this. The Post Type is called ‘college_home_pages’ and the Name is ‘College Homes’. The wordpress dashboard has it called ‘College Homes’. I tried both terms individually and substituted into the ‘custom-post-type-name’ field of the shortcode provide but neither worked. I did create individual posts for each counselor, changed it to private and added appropriate ‘author’ name as well.

    Am I missing something?

  • Participant
    Level: Enlightened
    Posts: 90

    Hi Brajesh,

    I had tried creating a custom post type and entered the shortcode above but to no avail. Is there something I need to tweak with the code you provided earlier for the custom-post-type to work?

    Looking forward to hearing back from you!

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Thank you Brajesh – your support is amazing. I’ve decided to get rid of some of my other 3rd party plugins that performs the same as some of yours – I think your support is second to none. I’ll start with rt-media and substitute with your MediaPress plugin – it looks awesome. Can’t wait to see what I can do with that.

    I’ll update this thread as resolved.

    Thank you!!

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Brajesh!

    Fabulous! It worked! I created a private post for that counselor and added that shortcode. Just to confirm so I don’t mess up later – if that counselor published another post anywhere in the blog, that new post will be fetched instead? Basically, it will disallow that counselor from publishing any new content without it affecting the said profile tab?

    Just need to make sure that is the case so I relay that info.

    Thanks!

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    HI Brajesh,

    Many thanks. I know this will be very helpful for the community here as well.

    I know you had mentioned standard post type or custom post type. Not sure what the difference would be but I think as long as I can retrieve the post without the other ‘fluff’ that is in a wordpress post (e.g., the comment section, date when it was posted, etc.) – that would be ideal. Just need a video appearing and some text.

    Thanks!

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Hi Brajesh,

    I hope all is well. Just checking in to see if you were able to help with the code.

    Many thanks,

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Hi Brajesh,

    I guess just a normal post? Please advise if you think a custom is better as I don’t know what the benefits would be.

    Thank you soooo much!

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Hi Brajesh,

    Thank you for clarifying. Can you please help me with one example. How can I achieve this. If I have User 1 with admission counselor member type and then say I create a post with that user 1 as author. How can I accomplish this with the code you provided earlier? Do we need to change it then?

    Thanks again – once I get one working, I should be OK with figuring everything else out.

    Looking forward to hearing back from you!

    Sujee

  • Participant
    Level: Enlightened
    Posts: 90

    Oh sorry just needed to clarify the post type shortcode. I hope I can explain it clearly here.

    1. Create profile tab with slug ‘home’ that is the default landing page for member types ‘admissions-counselors’

    2. Go through the steps you mentioned above

    3. Add shortcode to the ‘home’ content

    ++ it’s the last stage that I am confused on. The code would have to fetch the current bp profile user and then the specific post type.

    So, if I’m a visitor that is not logged in and then clicks on that admission counselors profile, it will get me to the landing page with slug ‘home’ and the shortcode should retrieve that admission counselors specific post I created.

    Am I understanding this correctly?

    Thanks