Title: Shortcode not working
Last modified: August 30, 2016

---

# Shortcode not working

 *  Resolved [jeff96](https://wordpress.org/support/users/jeff96/)
 * (@jeff96)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-working-138/)
 * I have a problem using the shortcode in a custom buddypress tab. Here’s the code
   of the bp-custom.php file:
 * `<?php
    function profile_tab_myarticles() {
 *  global $bp;
 *  bp_core_new_nav_item(
    array( ‘name’ => ‘I miei articoli’, ‘slug’ => ‘my_articles’,‘
   screen_function’ => ‘myarticles_screen’, ‘position’ => 40, ‘parent_url’ => bp_loggedin_user_domain().‘/
   my_articles/’, ‘parent_slug’ => $bp->profile->slug, ‘default_subnav_slug’ => ‘
   my_articles’, ) ); }
 * add_action( ‘bp_setup_nav’, ‘profile_tab_myarticles’);
 * function myarticles_screen() {
    add_action( ‘bp_template_content’, ‘myarticles_content’);
   bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/
   plugins’ ) ); }
 * function myarticles_content() {
 *  if ( is_user_logged_in() )
    { echo do_shortcode(‘[frontier-post]’); } else {
   wp_login_form( array( ‘echo’ => true ) ); } }
 * ?>’
 * The code works great and the new tab is created but the shortcode doesn’t show
   anything. Thanks in advance for your support!
 * [https://wordpress.org/plugins/frontier-post/](https://wordpress.org/plugins/frontier-post/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-working-138/#post-6796258)
 * Frontier Post will require a page (or a post if setting in Frontier Post advance
   sttings is ticked).
 * If you have the possiblity to include a widget, you might try to include the 
   My Posts widget. Some theme allows ad hoc widgets.
 * You will still need a page with the Frontier Post shortcode for this to work,
   but you do not need the page to be in the menu
 *  [nikhilroy62](https://wordpress.org/support/users/nikhilroy62/)
 * (@nikhilroy62)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-not-working-138/#post-6796347)
 * Hi, i have an issue using the below short codes. It was working till the last
   update(Version 3.8.0) now code is not working. kindly help me to fix the issue.
 * [frontier-post frontier_list_all_posts=true]
    [frontier-post frontier_list_all_posts
   =false]
 *  Plugin Author [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-not-working-138/#post-6796348)
 * Hi,
 * Can you explain what your problem is – Why is it not working ?
 * I have re-tested it, and it seems to work for me
 * Please create your own posts (then you will also get email updates)
 *  [nikhilroy62](https://wordpress.org/support/users/nikhilroy62/)
 * (@nikhilroy62)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-not-working-138/#post-6796349)
 * ok

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/frontier-post_c8b8b0.svg)
 * [Frontier Post](https://wordpress.org/plugins/frontier-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/frontier-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/frontier-post/)
 * [Active Topics](https://wordpress.org/support/plugin/frontier-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/frontier-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/frontier-post/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 4 replies
 * 3 participants
 * Last reply from: [nikhilroy62](https://wordpress.org/support/users/nikhilroy62/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-not-working-138/#post-6796349)
 * Status: resolved