Dark Roast
Forum Replies Created
-
Forum: Hacks
In reply to: add_settings_section() orderThanx a lot. It indeed was the priority.
Hey toddius,
You should never alter a plugin file itself. If you’ll update the plugin you’ll lose your modifications.
You can modifie the plugin with hooks or filters.
This code should do your trick;
function my_breadcrumb_filter() { $link['slug'] = get_post_field( 'post_name', get_post() ); // Change hypens to whitespace $breadcrumb = str_replace( '-', ' ', $link['slug'] ); // Capitalise every word in your title $breadcrumb = ucwords( $breadcrumb ); return $breadcrumb; } add_filter('wp_seo_get_bc_title', 'my_breadcrumb_filter' );
You can put this snippet in your functions.php or in a custom plugin.
Forum: Fixing WordPress
In reply to: Renaming Index.phpIn such situation I would move my current or temporary site to a subdomain or -folder.
The I would install WordPress in the root and install a maintenance plugin like Gatekeeper to redirect visitors to the subdomain, while I’m working on WordPress site.Forum: Plugins
In reply to: [Yoast SEO] How to disable the plug-in on a single page?Can you elaborated a little more?
Do you mean to disable it totally on a page with a specific ID?
Or do you want to disable the output if a single page template is shown?There are some simple php functions to do this.
// Change hypens to whitespace $title = str_replace( '-', ' ', $title ); // Capitalise every word in your title $title = ucwords( $title );
You can find documentation for these functions on php.net
https://php.net/manual/en/function.ucwords.php
https://php.net/manual/en/function.str-replace.phpGood luck!
- This reply was modified 8 years ago by Dark Roast.
Forum: Networking WordPress
In reply to: multisite https redirects to http home_urlHey all,
Thanx for all the reactions. Here a little update:I tried all your suggestions among other things and I couldn’t find the problem. In the end I was pretty sure it couldn’t be a WordPress problem, so I approached my hosting one more time, asking to check his settings once again (after he assured my everything was set correctly)
So finally he found out he had put a wrong rewrite rule somewhere. Whch caused all rouble.So no WordPress problem, but reolved after all. Thanx
Forum: Networking WordPress
In reply to: multisite https redirects to http home_urlIf I use the “Really Simple SSL” plugin (https://www.ads-software.com/support/plugin/really-simple-ssl) I get a message saying ‘No SSL was detected’ but according to sites like https://www.sslshopper.com/ssl-checker.html#hostname=ssltest.vrijebond.org the certificat is installed correctly.
Forum: Networking WordPress
In reply to: multisite https redirects to http home_urlHey Bet, thanx for your reaction.
I changed the urls on the settingstab to https, but it didn’t make any difference.
Forum: Fixing WordPress
In reply to: Change "Post Author" Color in CommentsHey acarys1
You can use this snippet in your child-themes style.css
.bypostauthor cite span { /* change the colour hex value to the colour you prefer */ background-color: #21759b; /* to capitalize the string */ text-transform: capitalize; }
Forum: Themes and Templates
In reply to: How can I change the size of the menu button – TAKK themeRead the documentation about child-themes. Create a child-theme for your site and edit the style.css file.
You can use the Element Inspector of your browser to check which class or ID you should address.Forum: Themes and Templates
In reply to: How can I change the size of the menu button – TAKK themeCan you provide an URL, so people can take a look?
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Jquery not work after ajax call finishI think I have the same problem.
I use a little jquerry script to display a post thumbnail in a lightbox.
In the searchresults this works normal. But if I use the filter (in AJAX mode) this lightbox sript doesn’t work anymore.I checkt on debug mode, but it didn’t show an error.
Any ideas?
Forum: Plugins
In reply to: [Ozh' Tweet Archiver] Tweets as Custom Post TypeFound a snippet which did the trick for me.
I think piereg-he_IL.mo should be correct. Where did you place the new files?
Sorry, I’m working on a site which is only running at my localhost on the moment.
Bur don’t you want something like this: https://www.payitforwardfriends.com/ (found this URL in an other threat)Or do you mean with “with a fix advance relative to the central and the other sidebar” the margin’s between the columns? And can’t you just adjust that with the CSS?