paldimo
Forum Replies Created
-
Forum: Themes and Templates
In reply to: If the_author_descrption existsI want to do something similar but with the custom tags, for instance with titles, If I have a custom tag called “meta-title” I’m currently inserting it into the header using the following code;
<?php $key="meta-title"; echo get_post_meta($post->ID, $key, true); ?>
could the same code be applied and how?
Forum: Everything else WordPress
In reply to: StatsYou view the stats through google, you will create a login there like you would a gmail account. They have a GRUNDLE of statistics, some of which may not really be important, but definitely interesting.
Forum: Themes and Templates
In reply to: How to add different header image for every pageI have a client who wanted an arm of their site to use a different image set (header, footer, y-repeat) and I worked up the following;
<body id="body<?php $bodyid=$_SERVER['REQUEST_URI']; echo substr($bodyid,1,4);?>">
This code pulls the URL for the page so that a site like https://www.mydomain.com/blog/ would show up as “blog”.
The $bodyid is the variable created
The “1” is the start position
The “4” is the number of characters to listI preceded the whole thing with “body” so that the “<body id=”>” is never blank.
Once you get it working, you then just include the declarations for what you want it to do.
body#bodyhome {background-image: url(/home.jpg)} body#bodyabou {background-image: url(/about.jpg)} body#bodycont {background-image: url(/contact.jpg)}
*This method works great if you want an entire arm of your site to have the same graphic. But if you want a different graphic for EVERY page, then marcovidor’s method would be best.
Forum: Everything else WordPress
In reply to: StatsSign up for google analytics.
It’s free, and you just paste one code into your footer.php file. The reporting is pretty detailed.
Forum: Themes and Templates
In reply to: Is there any theme especially for a download site?I’ve got a site for photoshop freebies. I’m not sure what you are looking for exactly, but it might give you an idea. Its located Here.
Forum: Plugins
In reply to: Google Analytics plugins?If you don’t mind looking at the analytics through google, just sign up there and install the tracking code in the footer.php file. It beats having to deal with any extra plugins.
Forum: Themes and Templates
In reply to: Replacing header text for header imageCheck out this post. Nine techniques on how to do that exact thing.
https://css-tricks.com/css-image-replacement/
It beats telling you myself…
Forum: Themes and Templates
In reply to: How to place some menu items separate from the rest?Yes, I wanted to do the same thing. I don’t actually have atahualpa installed but I assume it will work either way.
Here is the code I started out with;
HTML;<div id="globalnav"> <ul> <li class="page_item page-item-2 current_page_item"><a href="#" title="Home">Home</a></li> <li class="page_item page-item-44"><a href="#" title="Contact Us">Contact Us</a></li> </ul> </div>
CSS;
#globalnav li { float: left; } #globalnav li.page-item-44 { float: right; }
Basically the two line items would be floated left to begin with, and you can pick specific page items to be floated right. The result in this example is that the “Contact Us” link (page-item-44) was floated right. I found the page item just by viewing source once I created the pages I needed.