Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1028461
    goalsarecool
    Participant

    Can you please help me understand why is the page title not showing on this page?

    https://www.goalsarecool.com/register/free-member-content/

    Thanks in advance!
    Blake

    #1028717
    Joao
    Moderator

    Hi Blake,

    Could you please click Edit page and make sure you don´t have the box disable page title checked?

    In Case you don´t have it, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks

    Joao

    #1028762
    goalsarecool
    Participant

    I clicked edit and there is no box that says disable page title. I’m using MemberPress and received the following:

    Our Memberships are Custom Post Types, so the theme just may not have proper support for Custom Post Type’s. It should be defaulting to the “page” template for our Membership CPT.

    #1029357
    Lely
    Moderator

    Hi Blake,

    Page title is not available for custom post type. To add title on those pages, it would need customization. Unfortunately, as stated on the sidebar of this forum page that is beyond the scope of our support. You may direct this question to the plugin developer. Thank you for understanding.

    #1030467
    goalsarecool
    Participant

    That’s disappointing!

    Is there a way to hide the blank space at the top so that I can write the title with h tags and include the short code from MemberPress on the page without the big gap?

    #1031296
    Rupok
    Member

    Hi there,

    Thanks for updating. To be precise, it’s generated by a plugin and uses a template to show the form only. So there is no way to add other content and this limitation is set by the plugin though it’s logical. So we can’t really change the template or functionality usually. But I can provide some code to add a title there.

    You can add this under Custom > JavaScript in the Customizer.

    jQuery(document).ready(function($) {
      var html = '<h2 class="custom-title">Free Memeber Content</h2>';
      $( html ).appendTo('.postid-11032 .x-main .entry-wrap');
    });

    If you need to edit the style of the title you can use this under Custom > CSS in the Customizer.

    .custom-title {
      margin-bottom: 30px;
      margin-top: 0;
    }

    Hope this helps.

    Cheers!

    #1031918
    goalsarecool
    Participant

    That did not work!

    After I refresh the page and clear the cache it puts the title under the signup button at the bottom of the page. When logged out it does the same thing in an incognito page. I will leave the code so that you can see it here: https://www.goalsarecool.com/register/free-member-content/

    Can you please assist?

    Thanks!

    Blake

    #1032350
    Rupok
    Member

    Hi Blake,

    Thanks for updating. You need to update the JS code a bit :

    jQuery(document).ready(function($) {
      var html = '<h2 class="custom-title">Free Memeber Content</h2>';
      $( html ).appendTo('.postid-11032 .x-main .entry-wrap .entry-content');
    });

    Hope this helps.

    Cheers!

    #1032365
    goalsarecool
    Participant

    That did not work. Also, is it ok to put the following above the code so that it can be identified later?

    /* Membership – Custom Title */

    Can you please assist?

    #1032772
    Jade
    Moderator

    Hi Blake,

    Would you mind providing us with the admin details to your site in a private response so that we could do the testing of the code on your actual current setup? Thank you.

    #1032773
    goalsarecool
    Participant

    I don’t feel comfortable providing admin access. I’ve had some really bad experiences in the past. Can you please assist?

    #1033340
    Lely
    Moderator

    Hi Blake,

    I did check the page, unfortunately, I can’t find the code suggested above. Did you remove it? If no, please try clear cache so we can check again why it is not working. Although it would be better if we can access the admin.

  • <script> jQuery(function($){ $("#no-reply-1028461 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>