isimpledesign
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: problems installing a new theme, newbie!Ok so what i can see from the url
https://fireguardservices.com/franchise/about/
looks like their is a category called franchise with posts withing it want is your permalink structure.
you can find this in
settings->permalinks.
and what are your eading settings.
settings->reading
Is the homepage set as a static post.
Forum: Fixing WordPress
In reply to: problems installing a new theme, newbie!hi
I would like to help but i am not sure i understand your question?
I have had a look at the site and their is alot more than the homepage that i can view?
Do you mean their is a new version off the theme?
Forum: Fixing WordPress
In reply to: Widgets and Custom Fields function just dropsglad you have sussed it managed to suss mine aswell just included the jquery call in the head instead off trying to call it through the functions.php.
Cheers tho ??
Forum: Fixing WordPress
In reply to: Widgets and Custom Fields function just dropshi
i had a similar problem that was make the media manager lightbox not work for me it was adding jquery like below in my functions.php
<?php
function my_init_method() {
if (!is_admin()) {
wp_deregister_script( ‘jquery’ );
wp_register_script( ‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js’);
wp_enqueue_script( ‘jquery’ );
}
}add_action(‘init’, ‘my_init_method’);
?>Forum: Fixing WordPress
In reply to: Image/media uploader – insert into custom fieldYou could try this
https://codex.www.ads-software.com/Function_Reference/add_theme_support
not sure if its what you are looking for tho.
add_theme_support('post-thumbnails'); if (has_post_thumbnail()) { the_post_thumbnail(); }
Really easy to use and good for clients.
Forum: Fixing WordPress
In reply to: Widgets and Custom Fields function just dropscheck for javascript error using firebug or google chrome. See if it shows some.
Forum: Fixing WordPress
In reply to: "A Page of Posts" tutorial: Can't get it to work, please helpI dont have an issue with this code.
create a custom page like below
<?php /* Template Name: Category Page */ get_header(); ?> <?php if (is_page() ) { $category = get_post_meta($posts[0]->ID, 'category', true); } if ($category) { $cat = get_cat_ID($category); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $post_per_page = 4; // -1 shows all posts $do_not_show_stickies = 1; // 0 to show stickies $args=array( 'category__in' => array($cat), 'orderby' => 'date', 'order' => 'DESC', 'paged' => $paged, 'posts_per_page' => $post_per_page, 'caller_get_posts' => $do_not_show_stickies ); $temp = $wp_query; // assign orginal query to temp variable for later use $wp_query = null; $wp_query = new WP_Query($args); if( have_posts() ) : while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> <div class="entry"> <?php the_content('Read the rest of this entry ?'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', ''); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?></p> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('? Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries ?') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; $wp_query = $temp; //reset back to original query } // if ($category) ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
Then in the backend off wordpress add new page make sure its using the custom template off Categroy Page.
Make sure you have a catgeory called news or something.
Then add a custom field with a name of category
and a value off news or whatever you have called your category.
Forum: Fixing WordPress
In reply to: A white screen emergencyGo to around line 81 in wp_config
define(‘WP_DEBUG’, false);
and change it to this.
define(‘WP_DEBUG’, true);
re-load the page and post what issues you get outputted back.
Forum: Fixing WordPress
In reply to: upload_max_filesize confusionSometimes you have to contact your hosting via support to up the limit.
my hosting will do 64mb
but will only be set to take if i ask them else its usually set to 16mb.
So sontact your host tell them to up the limit sometimes you can do it via control panel.
Forum: Fixing WordPress
In reply to: Blog Went BlankGlad to be off help i wouldnt be to worried if you did a clean install of wordpress and then run it in debug mode it would still show errors
depricated function etc.
So my answer would be no ??
Forum: Fixing WordPress
In reply to: embeding medianot sure why you would get this error try deactivating any other you tube or video plugins you have installed if any and then try again.
Forum: Fixing WordPress
In reply to: Blog Went BlankGreat you wont have a completely error free blog well you might but ive never had one so i would just set.
define(‘WP_DEBUG’, false);
back to false like above and make sure your blog still up.
Forum: Fixing WordPress
In reply to: Blog Went Blanksorry dont delete the whole plugin directory thats abit overkill i was meant to say just the WP Super Cache Plugin: folder.
I now their can be issues with uninstalling this
Forum: Fixing WordPress
In reply to: Blog Went Blankok great
I would do a backup of the plugin directory with ftp and then delete it off the server so you can always put it back.
try finding /wp-content/advanced-cache.php
and backup and disable aswell.
post back your results.
Forum: Fixing WordPress
In reply to: embeding mediaI would just use this plugin
https://www.ads-software.com/extend/plugins/vipers-video-quicktags/
you can just click youtube button in the visual editor and the just enter your youtube url.
Try it.