Adam W. Warner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Using query_posts to get the lastest post title inside a page.Hi songdogtech,
Thank you very much for the guidance. This is working perfectly, thank you!
Forum: Fixing WordPress
In reply to: Categories Widget Missing@admin@caservers.net,
Fresh install of 2.8.6 – Default Kubrick ThemeThis also worked for me…kind of…I was able to get my Categories widget back, but when moving it to the sidebar, only two of my 9 categories would display. This display problem was happening before the category widget disappeared too. Something is definitely going on with the category widget!
I also tried the Widgets Reset plugin before and after your fix with no success.
When I remove all widgets, the sidebar reverts back to Kubrick defaults and lists the categories correctly.
What in the world is going on??????
Forum: Plugins
In reply to: [Plugin: Relevanssi] utf-8 supportI just installed this plugin and when trying to index for the first time, I received this error:
Call to undefined function: mb_internal_encoding() in /home/content/a/a/a/myuser/html/wp-content/plugins/relevanssi/relevanssi.php on line 1203
Line 1203 is this:
mb_internal_encoding(“UTF-8”);
Can anyone offer any suggestions on why this is happening? I am currently deactivating/reactivating all my plugins and testing but I doubt there will be an affect.
Forum: Plugins
In reply to: Archives Shortcodes on Self Hosted WordPress?Hi Michael, you’re absolutely right. Using that plugin and that short code with the parameters found here should accomplish the same. Thanks:)
Forum: Fixing WordPress
In reply to: wp_dropdown_pages (How to order by page ID?)Answered by me here: https://www.ads-software.com/support/topic/254995?replies=6
Forum: Plugins
In reply to: Extended Pages widgetGot it working!
<li id="pages"> <h2><?php _e('pages'); ?></h2> <form action="<?php bloginfo('url'); ?>/" method="get"> <?php $select = wp_dropdown_pages('show_option_none=Select pages&show_count=1&include=1409,1411,1413,1415,1417,1419,1421,1423&sort_column=ID&echo=0'); $select = preg_replace("#<select([^>]*)>#", "<select$1 onchange='return this.form.submit()'>", $select); echo $select; ?> <noscript><input type="submit" value="View" /></noscript> </form> </li>
Forum: Plugins
In reply to: Extended Pages widgetI have just tried the same as willem g. I am using Otto’s PHP Code Widget and have inserted this code:
<?php wp_dropdown_pages('include=1409,1411,1413,1415,1417,1419,1421,1423&sort_column=ID' ); ?>
Why don’t these links work as the categories widget when dropdowns are selected?
I have implemented the submit button solution, but I am still looking for the “jump” menu solution. Is it possible?
Forum: Fixing WordPress
In reply to: wp_dropdown_pages (How to order by page ID?)Thanks esmi, that works great. I don’t suppose you’d know more about this template tag, like why, when selecting a dropdown item, the link to that page doesn’t seem to work?
I’m still investigating…
Forum: Fixing WordPress
In reply to: Show more than 15 posts in admin’s Manage -> Posts?Thanks for posting your answer. This is one of the features I hadn’t needed until now, and it’s been a real time saver!
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Is it possible to specify url links in thumbnails?Fixed:
The same hack is needed in gallery-caption.php
??
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Is it possible to specify url links in thumbnails?Hey there shauno,
I just discovered that using your hack above works as expected if I enter [nggallery id=1] in to my page template, but when I add the image caption, [nggallery id=1 template=caption], the thumbnails no longer link to my custom links.
Do you have any thoughts on this?
I’m starting to dig around a bit and will post back if I find a solution.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Is it possible to specify url links in thumbnails?@ shauno,
THANK YOU!
This worked exactly as described. I’ve added this to my “list of hacks I’ve made” document I read before upgrading any plugins. I’m truly surprised that this feature isn’t built into the NextGEN core, but maybe in the future a feature could be added to include any custom fields created with your plugin.
Very great stuff shauno, thanks a ton!
Forum: Plugins
In reply to: Adding PHP code to a page@ ssgupta,
Thanks, but as noted in my previous post above, exec-php will not work for my needs.
Forum: Plugins
In reply to: Adding PHP code to a pageHey there phpprincess, nice to see you here…
Unfortunately, I don’t think your method will work as this custom query would be different on many pages (at least 30). Unless I had one really long if statement perhaps?
I did try the exec-php plugin, but in order to use that I would need to disable the Visual Editor, which would negate my purpose in trying retain the editing page feature for the user that will be editing these pages.
For now, I am just using separate page templates, each with custom queries, and each with static HTML. If this needs to be changed by the user, I’ll just have to make those changes for now.
p.s. These are category page templates.
Forum: Plugins
In reply to: Adding PHP code to a page@ MichaelH,
I have the same question, but can’t use a page template. The reason is that I need to be able to use the visual editor on this page still (someone will be changing the content regularly on this page), but I have a custom query that I would like to run on this page.
Is it at all possible to run PHP in regular WordPress pages?