Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter donnahaynes

    (@donnahaynes)

    Hi again,

    I have changed that code, and moved my custom images into my child theme. But now I get no images showing up at all in the theme config screen.

    Output for the nextendpath parameter is:
    C:\xampp\htdocs\YorkePeninsulaCouncil/content/themes/outreach-pro/accordionmenu/images/default/minus/
    C:\xampp\htdocs\YorkePeninsulaCouncil/content/themes/genesis/accordionmenu/images/default/minus/
    C:\xampp\htdocs\YorkePeninsulaCouncil/content/themes/outreach-pro/accordionmenu/images/default/plus/
    C:\xampp\htdocs\YorkePeninsulaCouncil/content/themes/genesis/accordionmenu/images/default/plus/

    Outreachpro is my child, Genesis is my parent.

    If I move the custom images back into the parent theme, I get only the custom images showing up in the configure screen (which is fine, but I think before the code update I got the default ones AND my custom ones.)

    PS I just updated Nextend to the latest version (before I applied the code you supplied): 9.3.0

    Thanks

    Thread Starter donnahaynes

    (@donnahaynes)

    ??
    It’s reading my parent theme: Genesis:
    C:\xampp\htdocs\YorkePeninsulaCouncil/content/themes/genesis/accordionmenu/images/default/minus/
    C:\xampp\htdocs\YorkePeninsulaCouncil/content/themes/genesis/accordionmenu/images/default/plus/
    I’m using a Genesis child theme. So I put my custom icons in my Genesis folder, and now they appear.
    But.. I still don’t really want to be putting customisations in the Genesis folder, I’d rather just have them in my child theme. Is that possible? Sorry for being complicated!
    Thanks for your help,
    Donna

    Thread Starter donnahaynes

    (@donnahaynes)

    Hi there,
    I don’t have the Pro version…
    No, the images don’t appear in the theme configuration screen.
    I have a slightly different content directory though – do you think that might make a difference?
    These are the paths I have added:
    \content\themes\outreach-pro\accordionmenu\images\default\plus
    \content\themes\outreach-pro\accordionmenu\images\default\minus
    (Note “content” instead of “wp-content”)

    Thread Starter donnahaynes

    (@donnahaynes)

    Hi there,
    Thanks for the fast response ??
    That doesn’t seem to work. Should the files I place in those directories have a certain name? I named mine plus.png and minus.png, in their respective folders.
    Is there something else I would need to change? i.e. in the back end “Opened State” and “Closed State” settings?
    I have been able to use my own icons if I replace the icons in these folders:
    \plugins\nextend-accordion-menu\library\assets\accordionmenu\images\default\plus
    \plugins\nextend-accordion-menu\library\assets\accordionmenu\images\default\minus
    But I don’t want to do that as they will get overwritten if the plugin gets updated…
    Thanks,
    Donna

    A vote from me for this functionality too. It makes it cumbersome to add a new menu, instead of duplicating an existing one.

    Thread Starter donnahaynes

    (@donnahaynes)

    Hey – awesome.

    I was going to say, I don’t really want to add yet another plugin, but that’s a good one! Thanks for the recommendation.

    So with Members plugin installed, read_private_posts set to ‘true’ (so yep, the Members plugin confirmed that was set to false for all user roles!), and with no additional code added to functions.php for your plugin, all works as expected.

    Thank you SO much for the excellent support. I’ll go give you some stars ??

    Thread Starter donnahaynes

    (@donnahaynes)

    Hi Frankie,

    Thanks for the quick response.

    I am an administrator, and as far as I know I haven’t done anything to change the read_private_posts capability. However, I tested it and both read_private_posts and read_private_pages were “false”. Is that weird?
    I can get the Archived post count to display if I add this code to functions.php:

    add_filter( 'aps_status_arg_public', '__return_true' );
    add_filter( 'aps_status_arg_private', '__return_true' );
    add_filter( 'aps_status_arg_show_in_admin_all_list', '__return_true' );
    add_filter( 'aps_status_arg_show_in_admin_status_list', '__return_true' );

    I would like all users to be able to see Archived posts in the admin end – I’m using Oasis Workflow as well so I’ll use that to control who can actually edit posts.

    Hmm, I wonder if installing Oasis Workflow set my read_private_posts to false…

    Anyway, will having the above code in my functions.php file cause any problems?

    I did try deactivating all my other plugins first and that had no effect. But setting user capabilities is saved to the database right? So if another plugin did make that change, deactivating the plugin might not set it back to what it was…

    Thanks,
    Donna

Viewing 7 replies - 16 through 22 (of 22 total)