Agnieszka Bury
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Tri-lingual multisite, how to change comments formIf you want users to pick their language on the front side, you’ll need to use a plugin like wpml.
@andrea_r, isn’t there any other way? Must I use the plugin to change the WPLANG for each site (withing WP Multisite)?
Forum: Plugins
In reply to: Contact Form 7: How to add blind recipients using php?Thanks for sharing it, medaa25. I’ll also find it useful.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Generate PDFI’m also interested.
Forum: Plugins
In reply to: Contact Form 7: How to add blind recipients using php?Forum: Fixing WordPress
In reply to: Showing entire post or excerpt – post by post control?The code I pasted is general. Little doubt it will fit your specific code without modification. Probably you will have to change the index.php file, somewhere around the_content function. If there is something like this:
<div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div>
you can replace the line:
<?php the_content('Read the rest of this entry »'); ?>
with
<?php if (empty($post->post_excerpt)) the_content(); else echo '<p>' . $post->post_excerpt . '</p>'; ?>
I guess (I don’t have the sources of the theme you use).
Forum: Fixing WordPress
In reply to: Showing entire post or excerpt – post by post control?OR, is it possible to set posts that has something in the “excerpt” field to show excerpt, otherwise, show the entire post?
Yes, it is:
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); echo '<h2>' . $post->post_title . '</h2>'; if (empty($post->post_excerpt)) the_content(); else echo '<p>' . $post->post_excerpt . '</p>'; endwhile; ?>
Forum: Networking WordPress
In reply to: List all Categories from all blogs (WMU)Have you tried to use the switch_to_blog function?
Here’s an example how to show all posts:https://bigbigtech.com/2009/07/wordpress-mu-cross-posting-with-switch_to_blog/
Try to use get_categories instead of get_posts.
In such cases I’m always curios to know why anybody would like cross listing all the categories. I’ll be happy to know the reason, if you don’t mind ??
Thank you @ipstenu for the link. I haven’t heard about WPML so far. It seems to be a really good plugin, I’d say – professional. I must definitely check it out. Then I could also say more about it, when I will see it in action – I mean, when I use it myself and for a live site.
What is really good in using WP Multiste for making the site multilingual – you have all the power and are fully independent – you can even write alternative texts for images in a particular language (which is important for SEO). I doubt any plugin enables it.
Thank you @ipstenu for your answer. Since now, I will remember to use the correct abbreviation when talking about WP multisite installation: “WP multisite” not “WPMU” (I’ve been mixing it up).
I see the point: to run multiple, separate sites. But in case you use WP Multisite for switching languages, such common repo would be really useful, so I agree with you – the NGG plugin should have something to make it possible.
Thanks again.
@andrea_r thanks for the explanation.
> your question has been asked a lot with no good answer.
Does it mean that WPMU is not prepared for such case: one common place for storing pictures for all subsites?Sorry for the bump. I’ll know for the future not to bump.
@ipstenu, what do you mean by “ask the developer”?
If anybody know how to access the same picture (no necessary from NGG gallery) from other sites within the same WPMU installation, the answer would also be helpful for me.
Bump. Anybody?
I know I can count on you guys. Every sygestion, hint, whatever, I’d appreciate.
Forum: Networking WordPress
In reply to: No insert/edit media button if multisite on.Just turn it on:
Go Super Admin->Options, scroll down, under “Upload Settings” check Images, Videos, MusicForum: Networking WordPress
In reply to: Some questions about multisite.Yes, it is.
Go to Super Admin-> Sites, move mouse to the path of the subdomain you want to make changes for. Below it you’ll see options like: Edit, Backend, Deactivate, …
Choose Backend
You will be moved to this subdomain panel, there you can change the theme or plugins the same way you usually do. You can even choose whether the plugin will be activated for this particular subdomain or for the whole network.
Forum: Networking WordPress
In reply to: WordPress database on non wordpress pageexterminate, you mean, you want to show WP content outside of your WP blog? If so, read this:
https://www.corvidworks.com/articles/wordpress-content-on-other-pages