Daniel Tara
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Minimatica] [Theme: Minimatica] sticky postsThe only way to do it is to use the blog view. The gallery view ignores sticky posts.
Forum: Themes and Templates
In reply to: [Minimatica] [Theme: Minimatica] How to close commentsWhen editing a page, uncheck “Allow comments for this page”. If you don’t see the option, check the settings under “Screen Options” in the upper right corner.
Forum: Themes and Templates
In reply to: [Minimatica] [Theme: Minimatica] how to show images on homepageAdd this to functions.php:
function minimatica_excerpt_length( $length ) { return 25; } add_filter( 'excerpt_length', 'minimatica_excerpt_length' );
It’s built-in. If you created a custom menu, all you have to do is add the desired pages as second-level (drag them a bit to the right).
Forum: Fixing WordPress
In reply to: Menu at top of blogOpen footer.php and move the element
<nav id="access">
(the entire element up to</nav><!-- #access -->
) to header.php.You’ll still have to do some styling tweaks to make it look good.
Forum: Themes and Templates
In reply to: [Minimatica] [Theme: Minimatica] how to show images on homepageUse the AJAX Thumbnail Rebuild plugin.
Forum: Themes and Templates
In reply to: [Minimatica] [Theme: Minimatica] How to remove sidebarEither that or add some widgets to the sidebar.
Forum: Themes and Templates
In reply to: [Minimatica] need HELP WITH Minimatica 1.0.8The front page displays posts. Making it to display pages would be rather difficult, but not impossible if you have some coding knowledge.
What do the permalinks look like? Try resaving the permalink structure to flush the rules. Check to see if the .htaccess file gets rewritten.
Forum: Themes and Templates
In reply to: [Minimatica] [Theme: Minimatica] how to show images on homepageNot exactly what you’re looking for, but see the topic: Products instead of posts
Forum: Themes and Templates
In reply to: [Minimatica]: Images not showing in galleryI don’t exactly understand what you mean by “I’ve uploaded images as separate blog posts and published them.” but here is what you have to do:
When editing a post, in the right column click on “Set Featured Image”. Upload and image and then select “Use as Featured Image”. The image should appear on the front page for that post.
Forum: Themes and Templates
In reply to: Using PHP Code in a themes options pageIt doesn’t need to get striped out or destroyed. It simply isn’t executed. It is outputted in the HTML document after the PHP compiler is terminated.
You won’t be able to get that piece of code executed like that. You’ll need to use either a function like exec() or eval(), both of which are banned by the WordPress theme directory, or to use create_function() and place the code inside the function.
But as esmi said, it it way more efficient to hard code the PHP and execute it based on a retrieved option. This way you don’t get unexpected behaviour and you are sure nobody can insert evil code in there.
Forum: Fixing WordPress
In reply to: Remove Recent CommentsYou also need to remove the reference to this function:
<?php latest_comments(); ?>
Forum: Themes and Templates
In reply to: Theme Frameworks: Lists and Pros/Cons?Take a look also at Thematic and Platform, they’re worth it.
Forum: Plugins
In reply to: Writing a Plugin with a Sub Menu and Tabs within the Plugin PageThe problem lies here:
href='?page=sub-$tab&tab=$tab'
This would translate into something like this:
href='?page=sub-about&tab=about'
the
page
parameter should be the page slug declared in theadd_submenu_page
function or what function you have used to add the menu entry, which in this case ismt_sublevel_page3
. Most probably the slug sub-about does not exist, that’s why it’s probably returning blank or 404 results.This would be the correct implementation:
href='?page=mt_sublevel_page3&tab=$tab'
Forum: Themes and Templates
In reply to: Articles/Comments @ Top Of HeaderRemove this portion of code from header.php: