• We have a custom post type “grid items” and we use the plugin, “Content Views Pro” to select and display a list of this post type with its custom field, “menu_icon”.

    We were using a plugin called AGP and it stored a shortcode in the custom field – [fac_icon icon=”arrow-up” color=”#1e73be” color_hover=”#9b9b9b”]. (But it is old and out of date now) I’m trying to replace it with your much better and more flexible plugin. Content Views allows you to execute a short code in a custom field, but since it’s not dependent on ACF, I’m sure it uses the get_post_meta and not the_field and so it doesn’t convert to the icon html. Could you make an output choice to be a shortcode? Then it could work with Content View Pro and any other plugin that doesn’t execute the_field to get custom field values.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    I wonder if this needs to be a part of the plugin or if you would be able to just register your own custom shortcode in your theme to accomplish your goal?

    Thread Starter wputler

    (@wputler)

    I thought about it some more – the problem is that it isn’t stored as a short code. Could you make an option to not only display in various ways, but to store as a shortcode? Otherwise, I’ll have to see if Content Views has a hook for when they grab a custom field and then make your field into a shortcode.

    Plugin Author Matt Keys

    (@mattkeys)

    I appreciate the suggestion. Unfortunately this is not something I plan to integrate into the plugin. If a need for this sort of solution becomes more popular in the community down the line I may reconsider.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use with Content Views (Pro)’ is closed to new replies.