Forum Replies Created

Viewing 15 replies - 61 through 75 (of 89 total)
  • That list should be on the left hand side once you’re in Appearance -> Menus.
    Depending on the version of WordPress you have (which version do you have, by the way?), you should be able to see the menu structure which is active on the right hand side – similar to this: WP Menu sample.

    In the active menu structure, you can click on the triangle (right hand side of the bar which holds each menu item) to see the details.

    There you’d see what I mentioned above. Can you try it out and tell me what you see in the url once you click on the title.

    Your problem is most likely in the menu structure, because I can access your pages if I add a /category/ in the url as mentioned in my post above.
    I’m sensing that we’re getting closer to a solution.

    The correct url should include a …/category/… before the name of the category. For example the following works as it should: https://www.alittlelondoner.com/category/recipes

    Now let’s have a look at your Menu structure.

    Go to Appearance -> Menus and review the details of one of the menu items which you added from the categories (e.g. Parenting, Amelia) by clicking on the small triangle on the right hand top corner of the menu item in the menu list.

    Once the menu item details open up, click on the title (should be a link) in the field where it says Original:. Does the right page show up that way? Regardless of whether it shows up or not, what is stated in the URL?

    It might be that the menu got messed up when you changed the Permalink structure, that’s why we’re doing this now.

    Perfect, that’s what I was hoping you’d write.

    Now delete the /index.php part, so that only /%postname%/ is there.
    As soon as you do that, the Custom Structure bullet will be automatically selected and the Post Name will be deselected – this is meant to be and it’s OK.

    Now Save Changes again and check your site.

    Good! ??
    Now go to Settings -> Permalinks again.
    Even though you have selected Post Name, the Custom Structure field should be populated as well.
    Can you tell me what it says in the Custom Structure field. It should be /%postname%/.

    Don’t worry about the blank category pages – that’s OK for the moment.
    We’ll take it one step at a time.

    Put it back to Post Name again, save changes, and see if you can access your other pages via the top menu (e.g. About Us, Contact, Reviews, Giveaways).

    OK – try the following approach:

    1. go back to Settings -> Permalinks
    2. and select the Post Name option
    3. and then click on Save Changes (this is important!)

    Check out your page again ??

    Hi Triona,

    I read through your previous thread and I understand this topic was triggered trying to figure out how to access your older posts (Unable to see old posts).

    Let’s try to recap:

    • The step which messed up your categories was when you changed your permalink structure – is that correct?
    • Do you remember which option was set before changing the permalink structure?
    • What is set under Settings -> Permalinks now?

    Hi Andrew,

    Sorry for the misunderstanding, now I know what you mean.
    Let me know if this approach works:

    add_action( 'after_setup_theme', 'my_theme_setup' );
    function my_theme_setup(){
        add_theme_support( 'post-formats', array( 'aside', 'image', 'quote' ) );
        remove_post_type_support( 'post', 'post-formats' );
        add_post_type_support( 'products', 'post-formats', array( 'aside', 'image', 'quote' ) );
    }

    Hi Andrew,

    If I understand correctly, you have already registered the new post type (i.e. products) –> a good resource is WordPress Codex on Post Types.

    Now you want it to support specific post formats as well.
    Using the example from the WordPress Codex above, you need to add one more line to the post-type registration function:

    'supports' => array('title', 'editor', 'author', 'thumbnail', 'excerpt'),

    So the full registration function would look something like:

    add_action( 'init', 'create_post_type' );
    function create_post_type() {
      register_post_type( 'acme_product',
        array(
          'labels' => array(
            'name' => __( 'Products' ),
            'singular_name' => __( 'Product' )
          ),
          'public' => true,
          'has_archive' => true,
          'supports' => array('title', 'editor', 'author', 'thumbnail', 'excerpt'),
        )
      );
    }

    Hope it helps.

    Great :-)!
    I’m glad it worked.

    Please, start a new request for the new topic.

    Hi Triona,

    This should work:

    Change the last bit of your code from:

    <?php wp_pagenavi(); ?>
    
    <?php get_sidebar('right'); ?>
    
    </div>
    
    <?php get_footer(); ?>

    to:

    <?php wp_pagenavi(); ?>
    
    </div>
    
    <?php get_sidebar('right'); ?>
    
    <?php get_footer(); ?>

    You can also copy-paste the whole file from this link: index.php for Triona

    This should solve your issue ??

    Hi Triona,

    Giving your login details is not a good idea – it’s like leaving the door of your house open and anyone who happens to pass by is welcome to enter. What I mean is that this is a public forum and anyone could be reading this thread.

    Can you copy-paste the contents of your index.php into a reply?
    And then we’ll take it step by step from there.

    By the way, what other files are available besides the index.php? The more information I have, the better I can help ??

    Hi Triona,

    Most likely, you would need to check your index.php file or the front-page.php file, if you have the latter (which I believe you do, because the other pages don’t have the problem).
    Those files can be accessed either via FTP or if you log in to your webpage dashboard –> go to Appearance –> select Editor and then on the right hand side of the page there will be a bunch of clickable file-names. Search for the index.php or front-page.php and click on them.
    This will bring the file into the editor, where you can make the changes – please, be careful because if you delete something inadvertently, you might mess up your entire setup.

    If you can’t find the files I mentioned above, can you tell me which files are mentioned on the right-hand side?
    Also, if you do find the right file, but are unsure how to change it, copy-paste it into the response and I’ll try to help you that way (unconventional, but it may just work).

    I’m sure we can find a solution, just don’t give up!

    I’m sorry, but unfortunately, that is beyond my knowledge.
    Those are very deeply rooted into the theme setup, and I’m sure there is a way to change it with the customization, which this theme has a lot of.

    Try the the customizer (after logging in, hover over the name of your site on the top left corner of the wordpress admin bar and select customize) or the theme options page (should be somewhere in the wordpress dashboard after logging in).

Viewing 15 replies - 61 through 75 (of 89 total)