Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ohlookitsdany

    (@ohlookitsdany)

    @threadi Nothing is wrong with those plugins, I just wanted to create something myself as a learning experience. But thank you for the insight.

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    Yea, I’m trying to avoid adding plugins wherever possible, so I don’t mind the extra time and effort within reason. I’ll take a look at your resources, thanks. ??

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    It’s a little bit of both, styling and structure. I’m trying to layout the navigation in columns, kinda. I’ve included a screenshot of the pattern I’ve created to help demonstrate what I’m trying to do.

    Basically, when you click the hamburger menu on the navigation block, it pulls up that modal overlay that just has the various links added to the menu. I’d like to style and organize that overlay the way I have in this pattern, but obviously, I can’t do that with the native navigation block, as it doesn’t allow for things like separators and various rows, etc. So, in lieu of that, I was thinking I would just render an SVG of a hamburger menu icon that would toggle the visibility (when clicked) of this pattern in the header template part instead.

    Does that make sense?

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    Thank you so much, Justin, this looks like EXACTLY what I needed. I know some coding basics, but I’m mostly just self-taught. Working at a nonprofit means having to adapt to resource-scarce environments, hah hah, so I have to kinda learn as I go. I’ll be sure to reach out if I run into any issues.

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    I realized you shared a link about patterns, my mistake. Please ignore that part of my response.

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    Case Studies are a post type (show’s up on the dashboard sidebar as a custom post type) and the type (i.e. which program the entry is a case study for) is a taxonomy. I wrote it a while ago, but I can copy the contents of case-studies.php if that’s helpful.

    Currently, dev.living-future.org/case-studies pulls up the general archive page, but if you want to see the archive of a specific type (LBC Taxonomy for instance), it’s dev.living-future.org/program/lbc. I think I was able to change the rewrite in case-studies.php to make it /case-studies/lbc instead, but when I checked that archive page, it threw a 404 instead.

    Aso for custom meta data, you mention using patterns. I’m pretty new to the new site editor and block themes, so how do you mean?

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    @weboccults Oh, that seems like it should be so obvious. I’ve made that edit, and yet I’m still not getting the metadata to save.

    function save_custom_meta_box($post_id, $post, $update)
    {
        if (!isset($_POST['meta-box-nonce']) || !wp_verify_nonce($_POST['meta-box-nonce'], basename(__FILE__)))
            return $post_id;
    
        if(!current_user_can("edit_post", $post_id))
            return $post_id;
    
        if(defined("DOING_AUTOSAVE") && DOING_AUTOSAVE)
            return $post_id;
    
        $slug = "case-studies";
        if($slug != $post->post_type)
            return $post_id;

    I feel like I must be missing something that’s staring me in the face.

    @bcworkz I’m not sure I understand how I would implement your suggestion. Like I said, I know just enough to be dangerous. I’m not fully fluent in WordPress backend quite yet.

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    I’m an idiot. I totally forgot to check and update the SiteName and SiteAlias entries in the Apache Virtual Host files. For anyone finding this and needing help with the same issue, DON’T FORGET TO CHECK YOUR VHOST FILES.

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    Hmm…okay. I don’t really have much experience with creating WordPress themes. Are there any resources you could suggest for like…modifying the 2016 theme to just include the header and footer? I’ve already built them with HTML and CSS, but I’m just not sure how to incorporate them with the WordPress blog.

    Thread Starter ohlookitsdany

    (@ohlookitsdany)

    @patrick,

    No, I don’t have an IP blocker, that’s strange.

    Try those, on port 80. Maybe there was an HTTPS error.

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