Phil
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how to add a css class to latest post?When you wrap each post with a div, you specify a class like this:
<div class="new">Then the CSS would be:
.new { some-styling: here; }Forum: Fixing WordPress
In reply to: Adding a ebook for sale via paypalLook for plugins that support digital downloads.
Forum: Plugins
In reply to: Woocommerce issueI notice you have two classes called “product first”, whereas the list of products should end on “product last”.
I’d also change the CSS slightly here:
ul.products li.product { float: left; margin: 0 3.8% 2em 0; padding: 0; position: relative; width: 21.2%; }notice width has changed. It all looks ok on my Mac now.
Forum: Fixing WordPress
In reply to: How to stop wordpress from stripping out breaksYou can also install TinyMCE Advanced plugin. It has an option to stop WordPress stripping these out – even in Visual mode.
Forum: Fixing WordPress
In reply to: How do I add new pageRewriting urls requires mod_rewrite on a server. Have you activated mod_rewrite on your local server yet? if you don’t know, check your apache\conf\httpd.conf file for that line # LoadModule rewrite_module modules/mod_rewrite.so
If it has the # in front, remove it and then stop apache and then start it again. Permalinks should work then. A live server will most likely already have it ready to use.
Forum: Fixing WordPress
In reply to: How do I add new pageCheck your permalinks settings in wp admin. You may also need to update your htaccess file depending on your server. 404s normally appear when something isn’t right with permalinks.
Forum: Fixing WordPress
In reply to: creating search boxWithout a header and footer, no theme loads so be sure to add them. You can use a page template like page.php as a starting place and add your own code after.
Forum: Fixing WordPress
In reply to: News categories in different fieldsYou would have to code this in to the page template.
Each box would call in the latest post(s) for each category, so for example:
<div class="newsbox"> <?php $boxnews = get_posts('numberposts=1&category=1'); foreach($boxnews as $post) : setup_postdata($post); ?> <div class="news-item"> <div class="news-text"> <h2><span>Category Title 1</span> <?php the_title(); ?></h2> <?php the_content(); ?> </div> <div style="clear:both;"></div> </div> <!--eof latest-item --> <?php endforeach; ?> </div>numberposts=1&category=1 allows you to control how many posts are shown per box and from which category, so for 3 boxes, you would have 3 different categories for each one.
Hope this helps.
Phil
Forum: Fixing WordPress
In reply to: Float Ad right in header using CSSHave you tried adding:
.advertclass { float: right; }It’s difficult for people to help you without posting a URL of your site.
Maybe try downloading a fresh copy of WP and copy the files up to your FTP (i.e, a manual upgrade)?
Forum: Fixing WordPress
In reply to: I successfully embed my wordpress blog into my website.Iframe is not the best method at all and can seriously harm your site in terms of SEO (Google ranking). If your website is also built using PHP, then you can use the header and footer from your site in your WP blog.
Same issue. Bummer.
Forum: Fixing WordPress
In reply to: cloaking plugin information in page sourceI guess you could try rewriting the urls in htaccess. Another way would be to hardcode the plugin scripts in the header.php (renamed to whatever you want) and physically remove them from the plugin files. YOu would most likely have to redo this everytime you updated a plugin though…
Forum: Fixing WordPress
In reply to: Changing background color into black on the WP events calendarniotisn, that colour isn’t coming in via CSS, so I would look at the plugin settings in the back-end of WP to see if that colour is there somewhere.
Forum: Fixing WordPress
In reply to: no uploads file for theme purchasedI meant permissions (755 or 777).
Uploads folder has nothing to do with the theme, it sits outside the theme and all themes have access to it.