grs
Forum Replies Created
-
Forum: Plugins
In reply to: [MZ Mindbody API] container class breaks themeThe theme on it’s own does not use the bootstrap framework.
Forum: Plugins
In reply to: [MZ Mindbody API] container class breaks themeI don’t believe this is being created by my theme. This only happens when the MZ plugin is initiated.
Forum: Plugins
In reply to: [MZ Mindbody API] container class breaks themeand I was using chrome dev tools to find that _grid.scss was causing the issues with the .container class.
Forum: Plugins
In reply to: [MZ Mindbody API] container class breaks themeThat is the weird part. The directory doesn’t seem to physically exist in the directory structure. I assumed it was being created on the fly.
Forum: Plugins
In reply to: [MZ Mindbody API] container class breaks themeSomehow the page I’m using MZ on is loading styles from /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_grid.scss
The theme I am using is called Symetrio. A premium theme I bought from theme forest.
Forum: Plugins
In reply to: [MZ Mindbody API] td class not appearingcss update worked, thank you.
Forum: Plugins
In reply to: [MZ Mindbody API] td class not appearingThere are classes scheduled. Clients can sign up at mindbody but they classes aren’t showing on my site.
Forum: Plugins
In reply to: [MZ Mindbody API] td class not appearingYou can view the issue here: https://bit.ly/1Jgt8NC
There is also an error getting classes when viewing the ‘following week’
Forum: Plugins
In reply to: [OptionTree] CSS Option TypesThanks for the suggestions, but it didn’t work out in my case. I ended up creating a function to output the options to a new css file.
I would just like to add that the IDs are handy for styling elements but not for hiding them. The wrapper and label are left in place and only the element is hidden.Forum: Plugins
In reply to: [OptionTree] CSS Option TypesJust to clarify, I am using a colour picker to change a feature colour on the site.
I think by saying default value I may have given the wrong impression.
What I mean was pre-populate the CSS option type with something like:
#header, #footer{
{{colour_picker}}
}
Then hide it so that CSS can’t be edited by an end user.
It’s a nice feature to have the CSS option type accept IDs, but for the general public adding CSS is too complex. Let alone introducing uncommon CSS syntax and trying to find the IDs of other option types. I would rather set it all up then have them only worry about using colour pickers.
I can achieve what I want by using ot_get_option and adding styles in the page header, but this bypasses dynamic.css altogether and in my opinion is pretty messy.Forum: Hacks
In reply to: Custom Theme OptionsI started again using the themeshaper article, I have hit a snag. I want to change the drop down so that it displays all the pages. This is what I have used
$pages = get_pages(); foreach ($pages as $pagg) { $select_options[$pagg->post_id]["value"] = $pagg->post_id; $select_options[$pagg->post_id]["label"] = $pagg->post_title; }
however this only displays the most recently created page.
How do I get it to show all created pages?Forum: Hacks
In reply to: Custom Theme OptionsSorry I forgot to mention that they were being printed. Thanks for your help, I will do a bit more research with the hooks you have suggested.
Forum: Hacks
In reply to: Custom Theme OptionsThanks for your fast reply, apolgies I could not match your speed, its been a busy week.
Well after your critique of that tutorial I am inclined to redo my theme options page. I am still quite a novice when it comes to php so I’m not sure if the link you posted will give me the spoon feeding I need. I will give it a go regardless.
I would still like to know where I am going wrong with my current theme options though. Like I said I am a novice, so I’ve grabbed bits from here and there and mashed them together. If you can tell me why this works on one computer and not the other I would greatly appreciate it.[code moderated] Code should be provided by way of a pastebin for anything over 15-20 lines. Have made the necessary paste for you this time.. ??
https://wordpress.pastebin.com/uhPP5Kb7