jbisenius
Forum Replies Created
-
Forum: Plugins
In reply to: PHP in pages, plugin brokenLucky shot from me, but this did do the trick:
<?php if ( get_post_meta($post->ID, 'child_of', true) ) : ?> <?php wp_list_pages('title_li=&child_of='.$post->ID.'&title_li=Sous-pages'); ?> <?php endif; ?>
And customfield child_of returns the values as wanted, and if wanted!
(and I also realized this no longer has to do with php inserted into pages…sorry)Forum: Plugins
In reply to: PHP in pages, plugin brokenI’ve actually not managed to change the code for echoing the custom field (most of the time, I don’t really know what I do ;)), but I do 1 extra-template with
<?php $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); if ($children) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?>
And that now does the trick! Will keep trying though, as I find your solution much more powerful! Thanks again ??
Forum: Plugins
In reply to: PHP in pages, plugin brokenAh, and that would mean, that if there’s no custom field, there’s no list. That would actually be brilliant, and even more user-friendly for my colleagues! Will give it a try, thanks a lot!
bisi
Forum: Plugins
In reply to: PHP in pages, plugin brokenJust one. They are all children of that one page, which is actually a summary of the project… it’s a book for young people with useful information on different topics, so the structure is site/book/general-topic/specific-topic/specific-subtopic. But there are also some that should not include the ‘children’…
Forum: Fixing WordPress
In reply to: Can't edit permalinks or add tagsMight have found a solution… might have.. delicious, are you using Advanced Custom Fields? If so, try deactivating it, that’s what made it all work for me again.
If you don’t use it, try and deactivate your active plugins, one by one, and always check in between if it doesn’t start working again.Hope it helps ??
bisi
Forum: Fixing WordPress
In reply to: Can't edit permalinks or add tagsI did try and change permalinks for posts, and that works fine. So I am guessing permissions should be fine? Or actually, could be /%category%/ is set differently than the root folder… What permissions would you recommend?
Thanks!
Forum: Fixing WordPress
In reply to: Can't edit permalinks or add tagsSame problem here, under Firefox and Chrome. Very unusual… only noticed it today…
(it does work when I change the slug in “quick edit”)
Actually, for me it all seems to be working now. The error was numbers per plugin in the database tables that WP Multisite created, it seems.
I am quite sure this is what I did to make it work. I installed the plugin in Network Admin, then activated the plugin in each site, and then Network activated it. It works now. For all of them… (cij.lu etc)
Could well be it only all along had to be network activated though…
Thanks for your help Hector, and hope this can help the others that are still struggling!
Yes. The sites where it is set up is https://www.cij.lu and cartejeunes.lu
The screenshots are:
https://cij.lu/wp-content/uploads/screenshot01.jpg
https://cij.lu/wp-content/uploads/Screenshot03.png
and here: https://cij.lu/wp-content/uploads/Screenshot02.pngThanks again for your time!
bisi
Hello again,
It’s version 2.2.1 actually… I added the line the other user suggested last week, and that didn’t do it either… and it has all in all been running and recording for 2 weeks I’d say… logged in and not logged in…
Thanks for the help!
bisi
Hello Héctor and svehex,
I had the plugin doing ok, just before a serious server crash, where I lost all of my installs… so I redid the whole thing, but no matter what I try now, I cannot seem to get it to record visits?
The two fields are in the database, and are being populated. It is a multisite install.
Any suggestions? Thanks!
bisi
Forum: Fixing WordPress
In reply to: How to display parent pages up to a certain levelMarventus, you’re an absolute star! Thank you so much for sharing this, been trying to get my head around this for AGES! Thank you!!
For the not so fluent user, I would only add the following. The code Marventus pasted would go into the functions.php file, and where you want the code to appear, you would insert
<?php wordpress_breadcrumbs(); ?>
Thanks again!!
Hello! I did the same as gluethje, and went even further and deleted the field, so I could readd it, which worked fine, but this didn’t fix the situation. I still cannot seem to make my picture attached to a post stick… Any idea when this might be fixed, as I kind of need a solution quickly… ??
Thank you for your feedbacks. Chip, as it is the same code, but on some wordpress-loops, it seems to be working, and on others not, I was guessing it was either a WordPress issue, or a “me-issue”. I have checked all possible me-issues I knew of ;), and will now gladly look into jmag’s suggestion ?? – I had a hunch it could be somehow related to App ID’s and OG, so chances are good it’s a me-issue ??
Forum: Fixing WordPress
In reply to: RSS feed contains an errorThank you very much for your help! I have now realized where the issue was and have protected my index.php ??
Some spammers seem to have taken advantage of my lack of security knowledge, and I know, I am the only one to blame… but still. This has been on there for a while ??
Anyway, thanks a bunch!