Equal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: shifting installed wp to another folderWhen you moved the installation did you do a find and replace on the database to replace all instances of pebam.info/ with pebam.com/blog/ ?
Forum: Fixing WordPress
In reply to: How to remove static home page from pages menuIf both of those location get the pages by using wp_list_pages then you will need to use the exclude parameter. So if those that pages ID is 10 for example then you would add exclude=10 to the wp_list_pages function. A typical example would then look like this:
<?php wp_list_pages('title_li=&depth=1&exclude=10); ?>
Forum: Fixing WordPress
In reply to: Changing categories in permalinksAll your links should change dynamically. For example if you have a category called general and then a sub category called something and you write a post called hello then the slug would be:
https://yourdomain.com/general/something/hello
If you decided to rename your general category to sport then WordPress will automatically change the permalink/slug of all posts so the example above would change to:
https://yourdomain.com/sport/something/hello
Hope this helps – sorry if I have misunderstood.
Forum: Themes and Templates
In reply to: Setting up a galleryYou just upload them in your post using the add media section. Then once they are in there is an insert gallery button there with a few options.
Forum: Fixing WordPress
In reply to: Add Logo / Remove SidebarTo remove the sidebar just delete all instances of:
<?php get_sidebar(); ?>
Forum: Fixing WordPress
In reply to: Translating some wordsCould you just not set your WordPress install up to use your language. It is available in several.
Forum: Plugins
In reply to: How do i install a forum on my siteForum: Fixing WordPress
In reply to: How to add a link to “Comments”Use this from the default theme:
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
Forum: Fixing WordPress
In reply to: Designating a link as having nsfw content?I have done this where everytime I have linked to a Word Doc a small icon is displayed next to the text. I assigned a class the paragraph it is contained in called “link” e.g.
<p class="link"><a href="document.doc">Download this Document</a></p>
Then in my CSS I use the following:
.link a[href$=".doc"]{ background: url(images/icons/word-link-icon.jpg) no-repeat right top; padding-right: 13px; }
That tends to work well. You could use a different icon?
Forum: Themes and Templates
In reply to: Query if on front-page? home? index?Try this:
<?php if(is_front_page() ) { ?> //do stuff <?php } ?>
Forum: Fixing WordPress
In reply to: Permalin ks and .htaccessAfter reading that I am not quite sure what you are asking here? How to change permalink structure?
Forum: Themes and Templates
In reply to: “broken theme-no css page”What is the exact error that you getting and where is the error being shown? On which page?
Forum: Fixing WordPress
In reply to: Custom fields questionI always use this if else code in order to display my custom fields:
<?php if ( get_post_meta($post->ID, "your-key-here", true) ) { ?> <img src="<?php echo get_post_meta($post->ID, "your-key-here", true); ?>" class="thumbnail" alt="Your alt text" /> <?php } else { ?> <!-- do nothing --> <?php } ?>
This basically first checks to see if the custom field is present. If it is it then display it in an img tag to display the image, if not then it does nothing. For this to work the custom field value must be the absolute URL of the image.
Forum: Fixing WordPress
In reply to: Blog Down, email adress provided not working, URGENT helpThe problem is that WordPress cannot connect to the database that holds all the information for your site including the login details to get to the dashboard. The details to connect to the database (not the dashboard) are stored in the wp-config.php file. Therefore you need to make sure that your database name, username and the usernames password are correct in that file. If they are then WordPress should then connect to the database and the system should come back alive.
Forum: Themes and Templates
In reply to: Theme “possessing” icon linksThat is because the code is loading the following image for each of the images:
https://discordia.e-gypt.org/wp-content/plugins/events-calendar/images/loading.gif
This must be in your themes code i guess?