Jay
Forum Replies Created
-
Sorry but it’s crazy hard to troubleshoot something with such generalized information. Though a link to the site in question usually helps.
Forum: Themes and Templates
In reply to: Change url link in website logoAccording to your site, the header’s logo link is handled by “gpp_base_header_hook()” So I’d say once you find that function you’ll find your link.
You might also want to look in your theme options if you have any. Most production level themes have options usually under the “Appearance” menu or in rare cases, usually lazy developers, under the settings menu.
On a side note, I’m going to have to do a rewrite of the code and completely deviate from the original design, which means a new javascript. I’ll also be having custom HTML and CSS options.
Currently that would have to be done via CSS as the option will not parse HTML content properly. It’d be a nasty HTML hack but possible. If I could get my local server to cooperate with me I’d give you code haha, but it seems Ubuntu hates me today.
Just use firebug or chrome’s inspector, right-click on the title to get the CSS attribute, and hack away.
Forum: Hacks
In reply to: Where to edit Title CSS in posts (edit.php)Have you considered adding an extra post meta box. I’m on a tablet right now so my typing sucks, but if you google add_meta_box that’ll get you pointed in the right direction.
Thank you, I’ll update the FAQ’s and Compatibility notes.
Tranny,
I’ll gladly look into this. The way the plugin works will definitely need an overhaul, as I think it currently hits the Ajax a total of 3 times per user… that may be able to be dropped to one.
Unfortunately I have no idea when I’ll be able to get to this, hopefully soon of course. I have to finish this Options Framework API first. I’ll definitely be looking at this because I have a large client as well.
Forum: Hacks
In reply to: how to set post to sticky (IN PHP) ?@esmi: haha you can tell that I don’t mess with that portion of WP, thanks for the insight though. That will definitely save me from writing extra unnecessary code.
Forum: Fixing WordPress
In reply to: Limiting categories on homepageAhh, in that case you’d have to do a custom loop of get_the_category() I don’t really have time to show you how, but did provide a link, maybe that will get you started.
Additionally you’ll have to look at the home.php file and take note of the “the_category” calls in the loop 1 and loop 2 blocks. That’s what you’ll have to change.
Forum: Hacks
In reply to: how to set post to sticky (IN PHP) ?If i’m not mistaken, you must be using the Twenty Eleven theme, or maybe another theme that supports stickies. The thing is, since “sticky” isn’t a standard, or at least I haven’t seen it in many themes, that leads me to believe that it’s more like post_meta data.
To verify I’d find a post that has the “stick” option set, then dump it’s metadata to the screen.
Forum: Fixing WordPress
In reply to: Limiting categories on homepageOn your sidebar.php file in the theme files you have this.
<ul> <?php wp_list_categories('show_count=1&title_li='); ?> </ul>Change it to this
<ul> <?php if(is_home()): ?> <?php wp_list_categories('show_count=1&number=5&title_li='); ?> <?php else: ?> <?php wp_list_categories('show_count=1&title_li='); ?> <?php endif; ?> </ul>Your categories uses the wp_list_categories() function that has tons of options. In the first statement I simply added the “number=5” you can change that to what works for you.
The is_home() function first checks if you’re on the home page, if so it’ll run the first list categories, if not, it’ll run the other one without the number argument.
Forum: Themes and Templates
In reply to: want post thumbnails to be clickableIts helpful if we have the parse error and the code you speak of. Consider using pastebin .com and providing links.
Forum: Themes and Templates
In reply to: Secondary loop.php/functions.php file?Oh and the child theme suggestion is spot on. Use a child theme to make sure your changes stick should a theme update come out. Up to you though.
Forum: Themes and Templates
In reply to: Secondary loop.php/functions.php file?Use a conditional tag called in_category and change it based on that in the proper files.
Forum: Hacks
In reply to: Plugin won't save data in databaseHaha a done this a million tomes myself. Your input names must match those of the register settings calls.
Ie ‘some_name’ should be first_tab_items