invot
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I make a single-page-layout in WP?Ecarbonated, you win my person of the week award. The code is tested and working!
I did make some modifications so that the page works with anchored links:
<?php get_header(); ?> <div id="container"> <a name="top"></a> <?php $args = array( 'sort_order' => 'ASC', 'sort_column' => 'menu_order', //post_title 'hierarchical' => 1, 'exclude' => '', 'child_of' => 0, 'parent' => -1, 'exclude_tree' => '', 'number' => '', 'offset' => 0, 'post_type' => 'page', 'post_status' => 'publish' ); $pages = get_pages($args); //start loop foreach ($pages as $page_data) { $content = apply_filters('the_content', $page_data->post_content); $title = $page_data->post_title; $slug = $page_data->post_name; ?> <div class='<?php echo "$slug" ?>'><a name='<?php echo "$slug" ?>'></a> <h2><?php echo "$title" ?></h2> <?php echo "$content" ?> </div> <?php } get_footer(); ?>If you use jQuery.ScrollTo for page transition then I don’t think you’ll need to do this though, my client just doesn’t want transitions…
Forum: Themes and Templates
In reply to: the_content inside menuWhy don’t you just echo the content via php? I don’t understand why you’ve decided to resort to jquery here.
Forum: Themes and Templates
In reply to: the_content inside menuDid you nest this in a loop?
Forum: Plugins
In reply to: [Plugin: Woocommerce] Pagination with and without PageNavi results in 404Anyone willing to help?
This is harder than it looks. Code-wise, you will simply float the sidebar to the right instead of the left in the stylesheet. However, judging by the look of things, the site is largely graphical. Likely, it’s laid out like text above a large image. Chances are, you would have to change things up quite a bit in photoshop.
I am sure that there are many themes very similar that have the layout you are looking for. I would recommend you find another theme instead of try to modify this one.
Forum: Themes and Templates
In reply to: Reg. Full width pageI think I know what you’re asking. Then again, maybe I don’t… You can call out elements by their container. For example
#header p { }will only style<P>s that are in the #Header div. Thus, if you want to style images or paragraphs just within a certain element, that’s how you would do it.Secondly, if you’re trying to change a style that’s already there, you’re going to have to force your style upon it (by using the !important; tag) or just edit the stylesheet within the plugin. If you’re using a MyBB forum plugin, you’re going to want to find the stylesheet in the editor and change things from there, but remember that those changes will go away once the plugin is updated.
Forum: Themes and Templates
In reply to: SideBar Down ?You need to make sure that
<?php get_sidebar(); ?>is somewhere inside of your sidebar div.Forum: Themes and Templates
In reply to: Theme structureOh, scratch that about the two menus I guess :p
Forum: Themes and Templates
In reply to: Theme structureI really think the only thing that should be posts is the news section. I don’t see why any other part of the site should be part of the post structure. I think the “Activities” should be it’s own menu, so find a template that has two menus.
Forum: Themes and Templates
In reply to: [P2] p2 theme does not add media from front pageSounds like a bad WordPress install. If you can manage your site via FTP or something you can download that file and replace it.
If that doesn’t work, try reinstalling WordPress. You can do this without uninstalling it, just re-apply the latest update.
Forum: Themes and Templates
In reply to: How do I change Sidebar Background color twentyeleven themeYou will have to edit your theme files to accomplish this. Go to Appearance -> Editor and select Page Template. You should see
<?php get_sidebar(); ?>somewhere in the file.Wrap this in a div:
<div id="sidebar"> <?php get_sidebar(); ?> </div>Then, go to your stylesheet and enter in something like this:
#sidebar { background:#eeeeee; float:left (or right); display:block; width:30%; height:100%; padding:10px; }You may have to adjust those values, but the general idea is there. Wrap your sidebar content in a div and style it.
Forum: Plugins
In reply to: [Slideshow] Better Responsive slidesSoliloquy does this automatically I believe. That is the only slide show plugin I use for responsive sites anymore.
Forum: Plugins
In reply to: [Plugin: Woocommerce] Pagination with and without PageNavi results in 404Also, if you’d like to take a look at the site, you will have to do so through a whitelisted proxy address: http://www.turbohide.com/browse.php?u=http%3A%2F%2Fshopg2g.com%2Fstore%2Fbracelet%2F&b=4&f=norefer
Forum: Fixing WordPress
In reply to: Woocommerce PaginationSo, I think what you’re asking is how to get pagination to show, right? If you’re using wp-pagenavi with woocommerce you have to insert the following code into your theme’s functions.php file:
remove_action('woocommerce_pagination', 'woocommerce_pagination', 10); function woocommerce_pagination() { wp_pagenavi(); } add_action( 'woocommerce_pagination', 'woocommerce_pagination', 10);Go to Plugins -> Editor in your backend and look for a .css file. It might be called style.css
You should see something like
text-shadowsomewhere in the document. Simply comment out that line.If you post a link to your website with the plugin active I can tell you exactly what line is causing the problem.