Badeyes
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: web accessibilityForum: Fixing WordPress
In reply to: Combining 2 snippets of php codeHi All
figured it out, if anyone is interested:
<?php
$website = get_post_meta( get_the_ID(), ‘cf_website’, true );
echo do_shortcode (‘[iframe src=”‘ . $website . ‘”]’);
?>cheers
Geof
Forum: Everything else WordPress
In reply to: Style SwitchersHi Jose
never mind helping me swim, you got me walking on water!!
I took what you gave, added my code an ddang if it didn’t work!!
surely it couldn’t have been that easy. :O) Like I did much.
If you are interested I’d like to share with you the whole code and you could add it to yours, I am using this in a Theme and have a Premium one I am working on that actually has 5 different colour schemes and I’m wondering how I would manage to do that.
cheers
Geof
Forum: Everything else WordPress
In reply to: Style SwitchersHi Jose
I’ll take a look at that , seems everything I’m doing is way over my head, got a life preserver? :O)
cheers
Geof
Forum: Fixing WordPress
In reply to: Unable to Edit PostsHi James
disabling all plugins at once on my own site is something I’d do but experience has taught me that if there are plugins with licenses in them they don’t always come back and I don’t want the headache that might come with it, that will be a last resort once I get them from my friend.
I have switched to the 2015 theme and no luck, deactivated some plugins like w3 super cache and cleared the logs/caches and still no luck, was hoping that someone has run into this problem as well.
cheers and thanks
Geof
Hi Jan
it worked!!
thanks!
seems something removed all site roles from the users, including me as Admin, will have to try to figure out why.
will also look into moving the site.
cheers
Geof
Hi Jan
I wasn’t aware of that, will have to rethink it, thanks for that and the links, will check them out.
I should add that I am able to login to the front of the site where you get directed to after a successful login but when I try to go to the Dashboard that is when I get the error.
cheers
Geof
Forum: Hacks
In reply to: If statements and using get_theme_modI actually figured it out, I used:
<?php if( get_theme_mod(‘socialTitle’) ): ?>
<?php
echo get_theme_mod(“socialTitle” , “”);
?>
<?php endif; ?>Forum: Hacks
In reply to: If statements and using get_theme_modHi Stephen
the output is text from a textbox control.
I’m not familiar enough with php to quite understand what you mean.
cheers
Geof
Forum: Fixing WordPress
In reply to: combining get_template_part and get_theme_modoh, this is a new theme I’m working on, but I will have to change my current 2014 child one to reflect the new changes for theme options the customizer.
Forum: Fixing WordPress
In reply to: combining get_template_part and get_theme_modis there anything I need to do to get it in the queue?
Forum: Fixing WordPress
In reply to: combining get_template_part and get_theme_modHi Jose
dang!!
I used your code the first time not realizing the ' was an apostrophe so it didn’t work but when I changed it it works!!
thank you so much!!!!
cheers
Geof
Forum: Fixing WordPress
In reply to: combining get_template_part and get_theme_modHi Jose
sorry but I really don’t understand this, I use the code below and it doesn’t generate errors or the link:
<?php get_template_part(‘/<?php
echo get_theme_mod(“cssSwitch” , “stylearray_default”);
?>’); ?>if I just use the get_theme_mod on its own it shows the correct text but for whatever reason I don’t understand it doesn’t show it in the code above.
cheers
Geof
Forum: Fixing WordPress
In reply to: combining get_template_part and get_theme_modHi Jose
not sure I quite understand but will give a look see, when I insert the get_theme_mod where the $thePriority_settings is it doesn’t give errors but doesn’t pull in the style sheet either.
I was hoping it would be that easy. :O)
cheers
Geof
Forum: Themes and Templates
In reply to: [Stargazer] Issue with Screen Readers for the visually disabledHi Morgan
I use a screen reader (JAWS 14.0) and if this is the site https://www.blindastronomy.org/ then it works fine, there are some accessibility issues with it though, parsing: https://validator.w3.org/check?uri=http%3A%2F%2Fwww.blindastronomy.org%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
There is an issue with justified text and some other minor errors but a quick audit tells me it seems pretty accessible for the most part.
cheers
Geof