iLobster
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to integrate adsense to only first recent post?OK,
open the index.php file of the theme you’re using.
somewhere on the top, add this:<?php $adsense = '<em>put your adsense code here</em>'; ?>
replace “put your adsense code here” with your actual adsense code
now, find a line that contains <?php the_content
under it add<?php echo $adsense; $adsense = ''; ?>
You should be done now
Forum: Fixing WordPress
In reply to: Admin goes to the wrong placeWhere are both WordPress and Coppermine installed? one might of overwritten or overrode the other’s .htaccess somehow
Forum: Installing WordPress
In reply to: Local installationAre you sure you gave the MySQL user you are using to log in permissions for that database?
Forum: Themes and Templates
In reply to: Adding oderdred list to CSSadd
ul { <em>you unordered list styles here</em> } ol { <em>you ordered list styles here</em> }
Now, I can give you the right styles for what you need, because I’m not sure what you need, but here are the values you might want to add/play with:
margin: <em>top right bottom left</em> padding: <em>top right bottom left</em> list-style: none;
The first 2 are for adjusting the margin and padding around the lists, it might help with allot of things. the last is to get rig of the bullets if you ever want to do that.
Int he forst 2, you enter the padding for the top, then right, bottom and lft, in the for of a number followed by ‘px’Forum: Themes and Templates
In reply to: Designing Themes with Dreamweaver?For the design part, you can use whatever you want, as ling as the result is HTML. To port a design to WordPress, you will need to edit the files with a plain text editor, which dreamweaver has built in, so you should be fine.
Also, I believe you can download a demo version of dreamweavr, so you might want to play around with it a bit before purchasingForum: Plugins
In reply to: Plugin needs to directly load a fileIf anyone has this issue, you can load the wp_config.php file by using a relative link (ex: ../../../ etc) and have accesss to all the wordress functions.
Forum: Plugins
In reply to: get_currentuserinfo() in pluginsso i should just add this to the top of the plugin script?
which function should i name? the script has many.Forum: Plugins
In reply to: querying databasewow, I was so stupid, I forgot to make it global ??
That’s what happens when you don’t have time to sleep ??
Thanks.Forum: Themes and Templates
In reply to: Page Templates and 2.0.5Sorry, my bad. i figured out the problem