magicsun
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add multiple category posts on one pageParse error: syntax error, unexpected T_VARIABLE, expecting T_PAAMAYIM_NEKUDOTAYIM in
and then pointing to the file I had past the code in. It says line 20.
foreach( $cat_array as my$cat) :
that is that line. I don’t know the exact error it had before, just quickly pasted your code into it again in my current template, but the name of the parse error is the same. Now It doesn’t even view the page, It did before (just showed the error inside the page).
I also need to have anchors right before the category titles and with only one php code I can’t do that myself. That’s why I used the three seperate ones now, so that I can insert my own text/code inbetween.
Forum: Fixing WordPress
In reply to: Add multiple category posts on one page@ esmi, Thanks, but your code gave me a parse error.
I ended up using this: https://pastebin.com/qzkAzqQd
<offtopic> I really don’t agree with my post being edited, I think this pastebin is not doing any good to this forum, because now I can’t search for codes anymore. Probably why I couldn’t find my solution. If you can’t post any codes longer then 10 lines here, then what’s the use? isn’t this forum to help each other?
Just my 2 cents … </offtopic>
Forum: Fixing WordPress
In reply to: use of hidden tableAs far as I am concerned, the person isn’t talking about the layout, but the input of a message.
Also if you explain how to do it, then atleast give an example of an code to use. This kind of “advice” is rather pointless to me.
If you set the tables border to “0” you won’t see it. I believe this is standard when adding a table in WordPress.
If not, set your cursor inside the table, click the “table” icon in your text editor inside WordPress (when you are editing the message), and set the border to 0.
You can also add this code to the <table> tag:
border="0"
Example:
<table border="0" cellspacing="0" cellpadding="0" width="400" height="500">
Forum: Fixing WordPress
In reply to: Link to Category PageDo you mean pages and subpages, or category and subcategories?
What menu do you use? (custom, wp list style etc)
What I know for sure is that you can’t put pages inside a category.
Forum: Fixing WordPress
In reply to: Add multiple category posts on one pageI know what to use, I just don’t know how to use it .. that’s my biggest problem. I see all those topics pointing to the get_post and query_posts but it’s all chinese to me really … Especially since I want to have 3 categories, not one. One is simple, just make a menu.
Thanks for your effort and help, I really appreciate it.
Forum: Fixing WordPress
In reply to: Add multiple category posts on one pageThank you for your help .. but …
I have added this:
[Code moderated as per the Forum Rules. Please use the pastebin]
I get 3 times “No Posts for”. Deleted the mark-up for the actual posts, doesn’t make a difference.
Sorry for the late reaction.
My host won’t update individual and they can’t say when they will be on a new version of php. Boo-hoo
So I guess I have to work with what i’ve got. Decided to go with your plugin after all, the userfriendly-ness always wins ??
May I thank you for everything, you are a great help. Hope my host will come to it’s senses .. and i’ll be able to use the function soon =)
(dacht typ ‘t ff in het engels, dan snapt de rest het eventueel ook haha)
I’ve deleted and installed the new zip file. When clicking “Import photos” or “upload photos” (i’m not sure if this is the proper translation, i’m using dutch version) I get these errors at the top:
Warning: Invalid argument supplied for foreach() in /public/sites/www.dweilorkestheur-es.nl/site/wp-content/plugins/wp-photo-album-plus/wppa_upload.php on line 949
Warning: Invalid argument supplied for foreach() in /public/sites/www.dweilorkestheur-es.nl/site/wp-content/plugins/wp-photo-album-plus/wppa_upload.php on line 949
I have php 5.2.6 so the zip function does not work, but i’m not sure if above errors have to do with it. So that’s why i’m posting them.
I’ll see if my host can update my PHP. Will post updates then ??
Thanks again so much.Forum: Themes and Templates
In reply to: Please help : Custom Nav Menu OrderHow about when you have a top level menu item, and use an plugin to automatically add child-pages to it.
I want them to appear in alphabetical order. I don’t have the actual menu item in my custom menu (only the top level one). I also don’t want to give order in the backend at dashboard > pages.
I really think wordpress is lacking some basic features with this custom menu function …
Thank you for your message. Will keep an eye on your plugin.
Forum: Plugins
In reply to: [Plugin Name: oQey Gallery] oqey-gallery broken on WP3.1Sorry for late reply, Installed it yesterday through FTP with the same installation ZIP file and that works fine.
Seems there is something in the package that doesn’t work together with the automatic installer in WP.
Then i’m afraid I don’t know it either. I knew that I had this problem yesterday as well, but it was because nothing was activation. Sorry .. hope that someone else knows.
On windows (and even mac) this is one click away to make a zip file, so that is not like it was suppose to be with WinZip etc … i’m glad that function has become much easier ??
A zip file upload would be great. Personally I like that even more then multiple file selection.
I wish I could have helped you with it, but i’m afraid my php knowledge doesn’t go any further then installing and tweaking some excisting stuff in wordpress…
Did you activate the album at the top?
When I first visit the album manager page, nothing is activated. When i choose the album above, and click “edit” I can drag ‘n drop.
Forum: Plugins
In reply to: [Plugin Name: oQey Gallery] oqey-gallery broken on WP3.1I get this error when trying to install:
PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
I install it through the automatic installer in the wordpress dashboard.