simplethemes
Forum Replies Created
-
yeah, kind of a bummer. this plugin has huge potential but probably needs some more TLC or another summer.
Forum: Fixing WordPress
In reply to: Problems with autosave and custom fieldsI’ve been wrestling with the same issue.
I think you’re problem here is the “basename”.For the add_meta_box function:
echo '<input type="hidden" name="price_noncename" id="status_nonce" value="' . wp_create_nonce( 'status_nonce'.$post->ID ) . '" />';
And for the save function:
if ( !wp_verify_nonce( $_POST['status_nonce'], 'status'.$post_id )) { return $post_id; }
Forum: Themes and Templates
In reply to: Free WordPress Theme – JamboHi Vcize, The best thing to do is just delete the home.php file.
The home page uses a slightly different layout for the featured video widget and google ads, seen on the demo.
https://demos.simplethemes.com/jambo/wp/Forum: Fixing WordPress
In reply to: Gallery Shortcode for REL tag?@amp343 That’s definitely a much simpler and more efficient solution. Thanks, I’ll give that a try as well.
Forum: Fixing WordPress
In reply to: Gallery Shortcode for REL tag?I use this in my themes. This automatically adds a
rel="prettyPhoto"
attribute within all<a>
tags that link to an image. You can obviously change the attribute. The code is simple and self explanatory.// Adapted and Modified from https://www.ads-software.com/extend/plugins/add-lightbox/ // Adds a rel="prettyPhoto" tag to all linked image files add_filter('the_content', 'addlightboxrel_replace', 12); add_filter('get_comment_text', 'addlightboxrel_replace'); function addlightboxrel_replace ($content) { global $post; $pattern = "/<a(.*?)href=('|\")([^>]*).(bmp|gif|jpeg|jpg|png)('|\")(.*?)>(.*?)<\/a>/i"; $replacement = '<a$1href=$2$3.$4$5 rel="prettyPhoto['.$post->ID.']"$6>$7</a>'; $content = preg_replace($pattern, $replacement, $content); return $content; }
Forum: Themes and Templates
In reply to: Free WordPress Theme – JamboCan you share a link so I can see what you’ve got?
The single.php should display like so:
https://demos.simplethemes.com/jambo/wp/sample-blog-post-f.php
Are you wanting to ad the narrow “Ad” sidebar as well?Forum: Themes and Templates
In reply to: Free WordPress Theme – JamboAll of our themes are licensed under the GPL
I’ll add to the functions.php for clarification.Forum: Themes and Templates
In reply to: Omit Widget-Columns from PagesSorry, Despite your notes I’m still not sure what it is you’re trying to achieve. Are you wanting to display Pages and Posts in the same template?
In order to do this, you’d probably need to run two loops: One for the Scientific Admin category, and one for the PageID you are wanting to display.
If you’re just trying to include some static text on your category archive page, you may be able to do so with the category description.
Again, I’m not sure this is the best advice as I don’t totally understand your notes. Have you tried posting in the theme author’s forum? https://www.arrastheme.com/forums/
Forum: Themes and Templates
In reply to: Lack of themesAre you referring to these?
https://www.ads-software.com/extend/themes/There are some highly creative themes in there. You may find more niche creative themes from the commercial section.
https://www.ads-software.com/extend/themes/commercial/Forum: Themes and Templates
In reply to: Omit Widget-Columns from PagesAre you sure you’re wanting to remove the widgets from “Pages” or do you mean “Posts”? Only reason I ask is I don’t see any Pages on the link you posted above. If you want to modify the single Post entry template, you need to modify single.php.
Forum: Themes and Templates
In reply to: Bullets and Hyperlinks don’t line upLook in style.css
(nussivo.com/wp-content/themes/yourblog-20-theme/style.css)Find this line: (around line 1400)
#sidebar li li{ list-style-type: none; margin-top: 6px; margin-left: 27px; }
and change to:
#sidebar li li { list-style-type: none; margin-left: 27px; line-height: 22px; }
Forum: Themes and Templates
In reply to: How to check if there are sub links?If you’re trying to detect sub-pages, you could try:
<?php $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); if ($children) { ?> // do something <?php } else { ?> // do something else <?php } ?>
Forum: Themes and Templates
In reply to: Themes that use a “Bread Crumbs” sitemap?Can you post a link or screenshot of the effect you’re trying to achieve? When you say “breadcrumb” that usually implies a trail of hierarchical navigation like:
Home > Category > Article TitleWhen you say “site map” that usually implies a full mapping of the entire site.
There is a plugin called Yoast Breadcrumbs which you can insert in any theme.
Forum: Themes and Templates
In reply to: CSS columns and several loopsYou might consider using the 960 grid (https://960.gs).
I recently had the same challenge when building a theme, but it was only one loop.
https://demos.simplethemes.com/evenflow/wp/category/3col
<div class="container_24"> <div class="grid_8"> 1st loop.. </div> <div class="grid_8"> 2nd loop.. </div> <div class="grid_8"> 3rd loop.. </div> </div><!--/end container-->
Forum: Themes and Templates
In reply to: Trying to show category title not in an liI don’t know what theme your using but check your sidebar.php and/or your functions.php file. It looks like it’s starting your sidebar in a list.