Support Forum » User Profile

Forum Replies Created

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • AJ TatumAJ Tatum
    Participant

    I enabled JUST the Meta Box and Meta Box AIO plugins, and not "MB Custom Post Types & Custom Taxonomies" plugin (that's left deactivated), but I have a post type with the slug "podcast" and "Prepended permalink structure" is unchecked. However, if I go to mydomain.com/podcast I get a 404 error. That's the same with all my other CPTs. One thing I can think of is that I recently switched hosting providers and they use NGINX as opposed to Apache. Would that play any role with this not working as expected?

    Also, just curious, but it seems that I don't need "MB Custom Post Types & Custom Taxonomies" or "MB Relationships" as separate plugins if I have Meta Box and Meta Box AIO activated. Is that correct?

    AJ TatumAJ Tatum
    Participant

    Just as an FYI - this has broken accessing CPTs by the URL slug. So, I've had to disable this module and remove CPTs temporarily from the Navigation. CPTs is the primary use of Metabox for me. I've tried redownloading the plugin from the site and it was the same version I have installed (2.3.4), but the issue still occurs.

    AJ TatumAJ Tatum
    Participant

    This is also an issue for me, especially when I have user front end forms enabled or user profile editor. I've even gone so far as you trying tool set but wasn't impressed. However, I am beginning to look at alternatives that seem to be less demanding than metabox yet more powerful.

    in reply to: Link directory with Metabox - possible? #36573
    AJ TatumAJ Tatum
    Participant

    Sorry to revive an old post, but you really didn't answer the question as to if it is possible to create a link directory with metabox. I'm assuming so by creating custom post types and taxonomies as well as custom fields, but I'm unsure that the complexity that would be required to display such data such as ratings, etc. Additionally, I'm also not sure about the search or facet capability as I didn't have much luck with FacetWP and haven't tried SearchWP. So would you be able to give any pointers or suggestions as to how one would approach this? I understand the permalinks and have that solved with permalinks manager Pro.

    in reply to: Login Form with Dynamic Redirect URL #35527
    AJ TatumAJ Tatum
    Participant

    I ended up using a snippet instead of trying to use the short code so that it would redirect the user if there was a redirect_to in the query string. Here is an example: https://gist.github.com/ajtatum/8e20f51b1d1dfe739b59f68e64fceb96

    in reply to: Display SVGs with file_get_contents? #33552
    AJ TatumAJ Tatum
    Participant

    I think the next issue I'll run into is adding the title attributes to the SVG. I found https://kevin-ang.medium.com/inline-svg-system-in-wordpress-or-php-development-838dad423e76 and it has pretty good documentation on how I can achieve what I want, but can MetaBox run custom functions or just built-in WordPress functions?

    AJ TatumAJ Tatum
    Participant

    Thanks. Since that just generates the URL and not a source set, I eventually found a different way to approach it by using get_post_thumbnail_id, get_the_post_thumbnail_url, and then wp_get_attachment_image_srcset. This isn't a finished project, but here's what it looks like now: https://gist.github.com/ajtatum/e141af8edbb27a28d47352c7e9660749

    in reply to: How to add dynamic Alt Tags to mb.get_avatar #33548
    AJ TatumAJ Tatum
    Participant

    Thanks, that got it working but noticed it didn't generate a source set. After doing some digging, I decided to add a filter to the get_avatar function (see here: https://gist.github.com/ajtatum/4d8c1590b5205e9e6b93b111610fe191)

    And the MetaBox view now just has

    {% set author_name_array = [author.first_name, author.last_name] %}
    {% set author_name = author_name_array|join(' ') %}
    {{ mb.get_avatar( author.ID, 150, 'wavatar', author_name ) }}

    If you know of a better way to accomplish it, let me know, but, for now, this works!

    Thanks,
    AJ

Viewing 8 posts - 16 through 23 (of 23 total)