Dazzer
Forum Replies Created
-
Forum: Plugins
In reply to: Double top-level and sub-level menu itemadd_menu_page('MyMenu', 'MyMenu', 7, __FILE__); add_submenu_page(__FILE__, 'Submenu 1', 'Submenu 1', 7, 'submenu1', 'print_submenu_1'); add_submenu_page(__FILE__, 'Submenu 2', 'Submenu 2', 7, 'submenu2', 'print_submenu_2');
Change to
add_menu_page('MyMenu', 'MyMenu', 7, __FILE__); add_submenu_page(__FILE__, 'Submenu 1', 'Submenu 1', 7, __FILE__, 'print_submenu_1'); add_submenu_page(__FILE__, 'Submenu 2', 'Submenu 2', 7, 'submenu2', 'print_submenu_2');
Should work
Forum: Plugins
In reply to: Setup Top Level Admin MenuI’d like to bump this. Facing the same issue here.
edit:
I might have hacked it.
add_menu_page('Artworks', 'Artworks', 9, __FILE__,'printArtworksAdmin'); add_submenu_page(__FILE__, 'Artworks','Artworks',9,__FILE__,'printArtworksAdmin'); add_submenu_page(__FILE__, 'Projects','Projects',9,'projectsAdmin','printProjectsAdmin');
Set the First Submenu’s unique identifier to __FILE__. Very strange behaviour.
Forum: Fixing WordPress
In reply to: Custom Page ParametersBump: so no ideas then…
Forum: Fixing WordPress
In reply to: Regret Loading WordPress 2.3.1Installing Super Cache means that whoever views you site will be virtually loading html files directly with minimal server processing, meaning it will be faster. And will be more evident as more people view the site.
I haven’t had any speed problems with 2.3.1 so far. It is possible your host might have poor server installations, or a old version of php or what not, so there are quite a few possible bottlenecks.
Try using a cache, regardless. Always recommended for all wordpress installations (and should be default, really…)
Forum: Fixing WordPress
In reply to: Show number of commentsBad CSS there.
change your css stylesheet
.title .right
to
.right
If a class functions the same way no matter where it is, then don’t give added complexity. Use Inheritance within .title to add additional properties.
Currently, your element you’re trying to float right is not within a .title element, and hence it does not float right.
Forum: Fixing WordPress
In reply to: Show number of commentsuse the template tag
comments_number()
Forum: Fixing WordPress
In reply to: is_home bug?Its intended.
is_home refers to very first page that is displayed “BY DEFAULT”. That means, if you changed the home page to display a static page, is_home returns false.
Silliness, I know.
As a substitution, use compare bloginfo(‘url’) with the current url to find out if it is the front page.
I believe a is_frontpage() will come out in 2.4… or hopefully anyway.
Forum: Fixing WordPress
In reply to: Changing myblog.com to www.myblog.comThe common “geek” consensus is that https://www.domain.com implies a subdomain of domain.com .
However despite the push to remove the www from non-subdomain sites, the more common consensus is that people are simply more used to typing www in front of anything. Which probably stems from advertising (since the www immediately helps listeners associates a bunch of letters with a URL)
And you might want to resolve your post ??
Forum: Fixing WordPress
In reply to: how to only show future posts in a catAFAIK this is not a feature in wordpress. If you don’t want to use a plugin, then you’ll have to hack the template.
Forum: Fixing WordPress
In reply to: How do I take full control of my HOME page?Try digging in your template.
Most probably the template sets the Home link first, before looping through page links.Forum: Fixing WordPress
In reply to: Alternating Displayed Entry ClassesSomething like this?
<?php $count = 0; ?> <div class="archive_<?php echo $count; ?>"> <?php $count = ( $count == 1 ) ? 0 : 1; ?>
Forum: Fixing WordPress
In reply to: Static Front Page link to PostsDoesn’t help. They only told you how to remove the link. What I want is an actual link to the blog.
I’m resolving this since it would seem that the link is simply the archives. So I’ll just link it through to the archives.
Thanks alot ??
Forum: Fixing WordPress
In reply to: Backing up a large databaseDo you have access to your original database?
Just import the database into the new one (not importing through wordpress) and then alter your wp-config.php if need be.Forum: Fixing WordPress
In reply to: No tinyMCE?Have you tried removing all the plugins?
I just tried making my own plugin, which tampered with some things and screwed TinyMCE over. Most possibly a Javascript collision.
Just my 2p, but you should be looking in that direction.
Forum: Fixing WordPress
In reply to: Why won’t my Flash header work?As an aside, generally for Flash Embeds I recommend using SWFObject.