vankaa
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Two sidebars with drop down menu. Complicated I know.You build yourself the structure for your page to fit 2 sidebars.
Then you put the widgets in one and display using<?php wp_list_pages( $args ); ?>
all pages in the other (for info on it).
Then all you need is very simple jQuery to slide up and down the main Item if it has children.
If you want to build the menu as ‘html’ static just ‘view source’ of the page and copy the structure of the listed pages. Hope I helped you.Forum: Fixing WordPress
In reply to: include/require a file from another directoryAm I wrong or you are missing quotation marks
include('../../../myfolder/myfile.php');
?Forum: Fixing WordPress
In reply to: Mystique Theme Header IssueYou have declared your social icon on two places. The first, which is fails to load the image, overrides the second, which will actually load the correct tweeter image. Just make sure you remove the first one ( path looks like – “s0.wp.com/?custom-css=1&csblog=1gszh&cscache=5&csrev=38” line 267)
Forum: Fixing WordPress
In reply to: Theme Atahualpa – Comment form headline/textTry using h3#reply-title or just open file css.php file line 1307 and add your style.
Forum: Fixing WordPress
In reply to: Display a custom image only if user role is contributorYou can add
<?php if ( current_user_can('contributor') ) : ?> Your Image here <?php endif; ?>
This should show the code only to the contributor.
Forum: Fixing WordPress
In reply to: "Visit Site" in upper left-hand corner of admin siteI guess you removed your ‘Site Title’.
Forum: Fixing WordPress
In reply to: ERROR: There is no user registered with that email address.Go to your phpMyAdmin panel and look into your “wpdb” under “wp_users”. There you should see your admin “user_email”.
Forum: Fixing WordPress
In reply to: Display Custom Post Type Post CountIf you want all posts, than leave it default or write ‘post’. If you want something specific like ‘post_type’ => ‘galleries’, than write it in. You can read the documentation
Forum: Fixing WordPress
In reply to: Display Custom Post Type Post CountTry
<?php wp_count_posts( $type, $perm ); ?>
I would guess there is a problem with your permalinks.
Read Using Permalinks, hope it helps.Forum: Fixing WordPress
In reply to: Unable to make/delete/edit posts while adminTry to add the role to the admin user may be.
`$role = get_role(‘administrator’);
$role->add_cap(‘edit_posts’);
$role->add_cap(‘delete_posts’);`Look into Roles and Capabilities for more info.
Forum: Fixing WordPress
In reply to: number of post in the HOME PAGEYou can try readinghere and edit the the loop on the home page.