webnik
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Give some users Editor status for all sitesHow could I adapt the plugin? I’d need something that did it by user ID I guess. But I don’t have the skills required to do that.
Forum: Networking WordPress
In reply to: Give some users Editor status for all sitesI’m using this:
https://premium.wpmudev.org/project/new-blog-template
Perhaps I could set up all the users I need on my template site and then they will be copied with all the other settings when new student sites are created?
Doesn’t help for the hundreds of sites I’ve already set up though.
Forum: Networking WordPress
In reply to: Give some users Editor status for all sitesI just read in their FAQ that it applies it to existing users too …. glad I didn’t pull the trigger on that one!
OK … so I’m back to square one. How to set 50 or so users as Editors of 1200 sites via automation.
Anybody?
Forum: Networking WordPress
In reply to: Give some users Editor status for all sitesIt’s not a perfect solution but it could work I suppose …
I wonder if it sets the role on the fly or writes it to the database?
If I enabled the plugin, set up the teachers (default role: editor) and then switch it back off, I wonder if they keep those roles?
Hmmm … it doesn’t work, no. It looks sensible enough but sadly not quite it.
That’s great, Todd, thanks.
Now if I could work out why my child page listings had the same background image set next to the title, I’d have made a real CSS/WP breakthrough on all my sites!! It seems to crop up on every site that I edit the page template on!
OK guys. Problem is now that all my lists have no bullets. I imagine this is a problem with having had a bullet image set in CSS to begin with, but now I want to know ….. how can I get normal bullets (not an image, just the standard character) back for actual lists?
OK. I’ll take it out altogether. Thanks.
Could I just remove the line
background-image: url('images/postbullets.png');
and leave the padding setting in? Or is that padding just related to the placement of the image?Yeah that’s fantastic. I guess I’m wondering why so many themes are set up for this to happen …. I’ve been using ones from a range of developers and notice this problem with all sorts of things put at the top of pages. Why would someone have set a bullet symbol to appear as a background image?
Hmmmm …. no luck, I’m afraid. Any other ideas?
I’m lost in this CSS now, I can’t figure out what I’m looking for.
Sorry, thanks.
https://multisitetestzone.co.uk/gafc/
The words ‘Next Match’ are set in the widget.
I’ve realised I also had the same problem on another site that I put some code into the page template to list child pages – the text at the top of the list (“Pages in this section…..”) is just in h tags and yet has a bullet point added.
This is clearly an error in my themes and I need to figure out what it is!!
Forum: Plugins
In reply to: Display certain widgets in certain categories only?I’ve found a dirty workaround using the Dynamic Widgets plugin, which allows setting of excluded categories (amongst numerous other options). I’ve set up one widget to appear on all except one category, and the other widget to not appear on any categories EXCEPT the one the other is excluded from.
Seems to work fine but thanks, Esmi, as your answer is definitely the proper way to do it in future.
Forum: Themes and Templates
In reply to: Change archive title text – how do I change this code?Cancel that last call – I had an extra “<?php } ?>” – I’ve removed the one from after the code snippet Ross provided and left the one at the end of the list – I assume that’s right.
I hate being a n00b. ??
Forum: Themes and Templates
In reply to: Change archive title text – how do I change this code?Thanks Ross, but I’m getting
Parse error: syntax error, unexpected ‘}’
now.
The whole set of options looks like this:
<?php /* If this is a category archive */ if (is_category()) { ?> <h1 class="pagetitle"><?php single_cat_title(); ?></h1> <?php } ?> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h2 class="pagetitle"><?php printf(__('Posts Tagged ‘%s’', 'kubrick'), single_tag_title('', false) ); ?></h2> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h2 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'kubrick'), get_the_time(__('F jS, Y', 'kubrick'))); ?></h2> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h2 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'kubrick'), get_the_time(__('F, Y', 'kubrick'))); ?></h2> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h2 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'kubrick'), get_the_time(__('Y', 'kubrick'))); ?></h2> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h2 class="pagetitle"><?php _e('Author Archive', 'kubrick'); ?></h2> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h2 class="pagetitle"><?php _e('Blog Archives', 'kubrick'); ?></h2> <?php } ?>
Don’t know if that helps? I’m missing something really simple here, I know, but I’m only learning this stuff and can’t see it.