Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter Johann

    (@jowest)

    My apologies, the theme I’m using is urban city from churchthemes, here is link: http://churchthemes.net/ it’s the full theme, I bought it.

    How will I go and change / edit to resolve this.

    Thank you

    Thread Starter Johann

    (@jowest)

    Hi,

    Please see the link, to explain what I was talking about.
    http://www.armblanke.co.za/kk_issues.JPG

    TAB 5 is the one that doesn’t displays on the website? What do I do wrong?

    Please let me know urgently.

    Thank you

    Thread Starter Johann

    (@jowest)

    Hi,

    Thanks for the reply. Where will I be able to see, 1. my server settings & 2. my theme settings, where will I go about and look for that.

    Yes, its not showing on the website but the menu is added on the menu settings in wordpress admin side? The menu tab is showing fine but the sub sub menu I added doesn’t show.

    Thank you

    Thread Starter Johann

    (@jowest)

    Hi,

    Okay, lets say 8 menu’s, 40+ sub menu’s & let say 20+ sub sub menu’s. Will this be possible?

    What you mean with: “Have you hit a problem with custom menus already?” – I’m not sure, apologies.

    Thank you

    Thread Starter Johann

    (@jowest)

    Hi,

    Okay, so how will I go forward on getting this done? Waht must i ask them to do or adjust?

    Thank you

    Thread Starter Johann

    (@jowest)

    Hi,

    Tried that plugin but messed up everyhing, had to ftp and manually delete the plugin.

    I will take this up with the host then.

    There is no other workaround for this? Uplaod a php.ini file also didn’t work:-)

    Thank you

    Thread Starter Johann

    (@jowest)

    Thanks, you ROCK!!

    Thread Starter Johann

    (@jowest)

    Hi,

    Don’t fine the /thumb.php file? Where could I find it. I’ve found a plugin, will it work:

    <?php
    /*
    Plugin Name: Display Post Image
    Plugin URI: http://caxid.com/get-post-image/
    Description: Display the image for your WordPress blog post.
    Author: Ramesh
    Author URI: http://caxid.com/
    */
    
    function display_post_image($args){
    	global $wpdb, $post;
    
    	$defaults = array(
    		'width' => null,
    		'height' => null,
    		'css' => '',
    		'parent_id' => '',
    		'post_id' => '',
    		'filename' => '',
    		'return_html' => true
    	);
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r, EXTR_SKIP );	
    
    	if(empty($width) && empty($height)) $width = 200;
    	if(empty($parent_id)) $parent_id = $post->ID;
    	if(!empty($filename)){
    		$sql = 'SELECT * FROM ' . $wpdb->posts . ' WHERE post_name="'.$filename.'" AND post_type="attachment" AND post_mime_type LIKE "imag%"';
    	} else if(!empty($post_id)){
    		$sql = 'SELECT * FROM ' . $wpdb->posts . ' WHERE ID='.$post_id;
    	} else {
    		$sql = 'SELECT * FROM ' . $wpdb->posts . ' WHERE post_parent='.$parent_id.' AND post_type="attachment" AND post_mime_type LIKE "imag%" ORDER BY menu_order';
    	}
    	$image = $wpdb->get_row($sql);
    	if($image){
    		$image->guid_path = str_replace(basename($image->guid),'',$image->guid);
    		$image->filename = basename($image->guid);
    		$image->basepath = ABSPATH.str_replace(get_bloginfo('wpurl').'/','',$image->guid);
    		$image->abspath = str_replace($image->filename,'',$image->basepath);
    		$image->ext = substr($image->filename, -4, 4);
    		$imagesize = getimagesize($image->basepath);
    		$image->org_width = $imagesize[0]; // width of original image
    		$image->org_height = $imagesize[1]; // height of original image
    		if($image->org_width <= $width || $image->org_height <= $height){
    			// attempting to scale an image past its original dimensions, populate neccessary vars but don't resize:
    			$dimensions = wp_constrain_dimensions( $image->org_width, $image->org_height, $image->org_width, $image->org_height );
    			$image->new_filename = $image->filename;
    		} else {
    			$dimensions = wp_constrain_dimensions( $image->org_width, $image->org_height, $width, $height );
    			$image->new_filename = $image->filename;
    		}
    		$image->checkimagepath = $image->abspath.$image->new_filename;
    		if(!file_exists($image->checkimagepath)){
    			// image doesn't exist, create it:
    			require_once(ABSPATH.'wp-admin/includes/image.php');
    			$image->destfilename = image_resize( $image->basepath, $width, $height);
    			$image->resize_msg = 'Image was resized.';
    		} else {
    			$image->resize_msg = 'Image already existed. No resize neccessary.';
    		}
    		$image_html = '<img src="'.$image->guid_path.$image->new_filename.'" class="wp-image-'.$image->ID.' '.$css.'" style="width: '.$dimensions[0].'px; height: '.$dimensions[1].'px;" alt="'.$image->post_title.'" />';
    		if(stristr($css,'thickbox')){
    			$original_src = wp_get_attachment_url($image->ID);
    			$image_html = '<a>post_title).'" href="'.$original_src.'" class="thickbox">'.$image_html.'</a>';
    		}
    		if($return_html === true){
    			return $image_html;
    		} else {
    			return $image->guid_path.$image->new_filename;
    		}
    	} else {
    		return false;
    	}
    }
    ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin]

    Thank you

    Forum: Fixing WordPress
    In reply to: Footer Error
    Thread Starter Johann

    (@jowest)

    Tried it, but no go. What else could be the problem?

    Forum: Fixing WordPress
    In reply to: RSS Feeds
    Thread Starter Johann

    (@jowest)

    Okay, got it sorted, found a addon for Chrome to view the RSS Feeds. Here is a link: https://chrome.google.com/webstore/detail/nlbjncdgjeocebhnmkbbbdekmmmcbfjd

    Forum: Fixing WordPress
    In reply to: Older Entries
    Thread Starter Johann

    (@jowest)

    Sorry for the late reply. I’ve edit the theme, under index.php and changed the page views to 10 at a time, and that sorted out the issue.

    Forum: Fixing WordPress
    In reply to: RSS Feeds
    Thread Starter Johann

    (@jowest)

    Cool, didn’t know that, thanks for the help. Do you get a RSS Reader for Google Chrome?

    Forum: Fixing WordPress
    In reply to: RSS Feeds
    Thread Starter Johann

    (@jowest)

    Not working on my side – this is part of the error i’m getting: This XML file does not appear to have any style information associated with it. The document tree is shown below.

    <rss xmlns:content=”http://purl.org/rss/1.0/modules/content/&#8221; xmlns:wfw=”http://wellformedweb.org/CommentAPI/&#8221; xmlns:dc=”http://purl.org/dc/elements/1.1/&#8221; xmlns:atom=”http://www.w3.org/2005/Atom&#8221; xmlns:sy=”http://purl.org/rss/1.0/modules/syndication/&#8221; xmlns:slash=”http://purl.org/rss/1.0/modules/slash/&#8221; version=”2.0″>…</rss>

    Johann

    Thread Starter Johann

    (@jowest)

    Thanks, will try it and let you know.

    Forum: Fixing WordPress
    In reply to: Older Entries
    Thread Starter Johann

    (@jowest)

    Where can I edit that pages or redirect that it goes to the right page?

Viewing 15 replies - 1 through 15 (of 17 total)