Forum Replies Created

Viewing 15 replies - 166 through 180 (of 324 total)
  • Plugin Author wizzud

    (@wizzud)

    I’m sorry, but I need a bit of clarification about what you mean by

    When you click on A, then the child pages will appear…

    Are you talking about:
    (a) a purely visual effect, whereby the browser does not perform the expected action of navigating to the A page, but instead it toggles the menu’s display of the A page’s sub-pages (a1, a2, & a3)? or
    (b) having navigated to page A (so page A is being displayed, not the home page) then the menu now shows all the top level items, plus page A’s sub-pages?

    If you mean (a), then the answer is No, CMW will not do that for you. CMW will produce a menu containing the necessary items and sub-items, but it does not provide the javascript required to control the collapse/expand of a menu tree. (There is a limited discussion about collapse & expand in this thread if you are interested)

    If you mean (b) then the answer is Yes, CMW will filter a menu’s items such that only top level items and any sub-pages of the current menu item are output (ie. A, a1, a2, a3, B, C and D, given that A is the current item).

    Plugin Author wizzud

    (@wizzud)

    This is your theme’s doing.
    At a 1200px break point, your theme is setting a style for .sub-menu (your level 2+ ULs) such that it gets absolute positioning and a left margin of 90%. So from 1200px down the CMW menu is looking a tad odd.

    CMW does not provide any CSS styling – it’s all down to your theme. Sorry.

    Plugin Author wizzud

    (@wizzud)

    The documentation has now been re-jigged a bit – the Shortcode Parameters are now under Installation, and displaying in their entirety – and I have clarified that non-one is forced to use a widget (even though that is the prime function of the plugin). While bearing in mind the “configuration page” request for the shortcode, I am marking this as resolved…

    Plugin Author wizzud

    (@wizzud)

    Good, I’m glad, because I was out of options. Enjoy!

    Plugin Author wizzud

    (@wizzud)

    In the Fallbacks section there is a checkbox option for Try items marked as Parent of Current : if you haven’t already, could you try setting that option?

    Plugin Author wizzud

    (@wizzud)

    Thank you, and I’ve taken note.

    It’s something that has been requested before, and if I can think of way to do it without opening myself up to a huge increase in styling-related support requests then I will definitely reconsider it.

    Plugin Author wizzud

    (@wizzud)

    Your Hueman theme has removed all padding, margins, and list styling.
    Look at the code – Inspect, or View Source – and you will see that there are up to 3 levels of menu, in nested ULs (ie. hierarchical).

    Try it with TwentyFourteen theme?

    Plugin Author wizzud

    (@wizzud)

    I’m sorry. I tried very hard to make the usage and documentation as clear as possible … my apologies for my failure.

    You are not forced to use a widget.

    There is an “Is there an easy way to construct the shortcode?” question on the FAQ page which, I thought, quite clearly stated that you do not have to set up a widget, but that the simplest way to configure a shortcode was still to make use of the widget’s Assist facility.

    For those who do not wish (or need) to take advantage of the widget’s Assist, the documentation for the Shortcode Parameters is in Other Notes (also linked to from the Description page).
    However, I have just noticed that the Other Notes page is being truncated, so it appears that I have hit a limit of some sort … I am going to investigate that further, and I will try to provide an alternative source of documentation. Please bear with me.

    There is currently no separate configuration page for the shortcode because that facility – and more – is provided by the widget form. Duplicating the widget form and Assist into a second, separate configuration page just for shortcode construction seemed (to me) to be unnecessary, and an over-complication (bloat?) of the plugin code … however, that too I will re-investigate.

    Once again I apologise for my shortcomings. I can only hope that up are not too disappointed with the CMW plugin, but if you are I am sure there are plenty of excellent alternative plugins available that will provide the same functionality, and in a more pleasing and sensible manner.

    Plugin Author wizzud

    (@wizzud)

    Do you have a page I can look at that shows this problem?

    Plugin Author wizzud

    (@wizzud)

    Update
    I had a re-think, as a result of which I have just-released v3.1.1, which has a work-around for your situation. For the shortcode, it will now re-register a missing CMW widget (provided that the widgets_init action has been done at least once).
    Enjoy!

    Plugin Author wizzud

    (@wizzud)

    Actually I think the problem lies with the fact that CMW is a Widget!

    The cmwizard shortcode uses the CMW widget to do its processing (by calling WordPress’s the_widget() function). That makes sense because the shortcode is, after all, just another means of calling the widget.

    I believe the problem with your theme is that it calls do_action("widgets_init") when it registers its own custom widgets. And it does so twice. I don’t think it should be calling it at all!

    In the theme’s framework/class/ folder there are 2 files : widgets-default.php and widgets.php. At the bottom of each one, there’s a function that’s hooked into the “init” action; each function registers some custom widgets, and then runs do_action("widgets_init"). The consequence of re-running do_action("widgets_init") is that instantiated widgets get removed from the list of registered widgets. This isn’t helped by what I believe to be a bug in WordPress’s WP_Widget_Factory::_register_widgets() method, however that doesn’t alter the fact that there’s no need to re-run that action.

    If you comment out those two calls to do_action("widgets_init") then the cmwizard shortcode will work just fine.

    I think it’s worth contacting the theme’s author and suggesting that their custom widgets should possibly be registered on the widgets_init hook (as documented by WordPress), not the init hook, and that there is no need to call do_action(“widgets_init”) themselves (in fact they shouldn’t!). Of course, there may be a good reason why they do it that way…

    Unfortunately there is nothing I can do – in terms of any amendment to CMW – to correct this, I’m afraid it’s all down to the theme. Sorry!

    Plugin Author wizzud

    (@wizzud)

    Within the theme, can you do a caseless text search for walker?

    CMW uses a custom Walker to produce the output, and I have already come across another theme that also implemented a custom Walker and was thereby cancelling CMW’s (ref this thread). I don’t know whether it’s a similar problem or not. There are plenty of ways for any theme, or other plugin, to hook into the production of menus and alter the outcome, and because yours is a purchased theme I can’t just download it and take a look for myself. (If you feel able to email me a zip of the entire theme folder then I’ll gladly see what I can find? – rb[at]wizzud.com)

    Plugin Author wizzud

    (@wizzud)

    Hi Alex.
    I can’t see anything in your plugins that would interfere with CMW shortcode usage.
    I’ve noticed that your theme appears to be the LawBusiness – Attorney & Lawyer WordPress Theme, by cmsmasters? If I’m correct, one niggling little doubt occurs to me : the theme states that it provides 23 custom shortcodes, and the coincidence of the first 2 letters of “cmsmasters” and “cmwizard” being the same prompts me to wonder whether they have their own [cmwizard/] shortcode which is overriding mine? I am unable to get at any documentation that states what the 23 shortcodes they provide actually are, so is there any way you can check? One quick test would be to switch your site back to WordPress’s TwentyFourteen theme and see if my [cmwizard/] shortcode then works. If it does – and I sincerely hope it does! – then your answer is your theme.

    Plugin Author wizzud

    (@wizzud)

    Hmmm…

    May I ask what other plugins you have installed and activated, and are you using the latest version of WordPress (ie. 4.0)?

    By “do nothing” do you mean that there is literally no output at all, ie. the shortcode disappears but nothing replaces it? Or does the shortcode itself remain on the page?
    Have you checked the View Source of the page to ensure that what you can see is actually what the page’s HTML holds?
    If you bring up the same page in admin’s Appearance/Customise screen, do you get the same result as when looking at the page at the frontend (ie. still no output)?
    If you set up a widget with the same (default) configuration, does it work?
    If you set up a text widget containing the shortcode [cmwizard menu4/] (which is the default settings for “show the entire menu”) does it show the menu? (It may just show the shortcode, in which case you might want to see if your theme has an option to allow shortcodes in widgets, or check if some other plugin – like WP Edit – has such an option?)
    Are you running a caching plugin, and if so have you cleared the cache?
    Do you have a URL for where this is occurring?

    Sorry for all the questions!

    Plugin Author wizzud

    (@wizzud)

    The adjustments you want to make are all controlled by your Biosphere theme styling, and it might be better to throw the questions their way?

    However … the simple answer to each question is Yes.
    1. You need to override the theme’s #footer .widget-title style, and set font-size as required, possibly other font styles as well
    2. You need to override the theme’s #footer .widget li and remove the border-bottom, possibly changing padding & margin as well
    3. The theme appears to be using a 16-column grid; each widget in the footer is currently set to cover four columns. I can’t tell what widget areas you have available, whether the theme decided on the container width depending on the number of widgets placed in the widget area, or whether you have full control over the widths. But basically you need to be able to divide 16 columns into 5. If there’s no obvious way of going about that, then I would suggest asking the theme author.

    For styling changes, the theme may provide you with a mechanism for tweaking any styles? I don’t know. The best person to ask is the theme author.

Viewing 15 replies - 166 through 180 (of 324 total)