Forum Replies Created

Viewing 15 replies - 16 through 30 (of 33 total)
  • Quickest way is to just have a redirect from your old domain. You can do this several ways but the admin panel of your domain server will probably have an easy redirect function. This is what I often do.

    The permanent solution is to backup your posts and pages (the built-in export function of WP is good enough for this)then import to new wordpress in the new domain. And also use several possible backup plugins out there to backup other stuff and settings in the database. You may need your FTP and some mysql.

    As long as you have backed up, the whole process is pretty quick.

    Check the header.php. The mystique theme has a very long code for its navigation buttons.

    The navigation code starts starts at <ul id="navigation"> and ends at </ul>.

    Before the </ul> and right after the “endif” php code, you can insert something like this code

    <li><a href="https://yoururladdress">your static link</a> </li>

    Below is the entire navigation block inside the header.php, notice the last few codes:

    <ul id="navigation">
    
             <?php
              $navtype = get_mystique_option('navigation');
              if((get_option('show_on_front')<>'page') && get_mystique_option('exclude_home')<>'1'):
               if(is_home() && !is_paged()): ?>
                <li class="current_page_item" id="nav-home"><a class="home fadeThis" href="<?php echo get_settings('home'); ?>" title="<?php _e('You are Home','mystique'); ?>"><span class="title"><?php _e('Home','mystique'); ?></span><span class="pointer"></span></a></li>
               <?php else: ?>
                <li id="nav-home"><a class="home fadeThis" href="<?php echo get_option('home'); ?>" title="<?php _e('Click for Home','mystique'); ?>"><span class="title"><?php _e('Home','mystique'); ?></span><span class="pointer"></span></a></li>
              <?php
               endif;
              endif; ?>
             <?php
               if($navtype=='categories'):
                echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a class="fadeThis"$2><span class="title">$3</span><span class="pointer"></span></a>', wp_list_categories('show_count=0&echo=0&title_li=&exclude='.get_mystique_option('exclude_categories')));
               elseif($navtype=='links'):
    
                $links = get_bookmarks(array(
                'orderby'        => 'name',
                'order'          => 'ASC',
                'limit'          => -1,
                'category'       => null,
                'category_name'  => get_mystique_option('navigation_links'),
                'hide_invisible' => true,
                'show_updated'   => 0,
                'include'        => null,
                'search'         => '.'));
    
                foreach ($links as $link)
                 echo '<li><a class="fadeThis" href="'.$link->link_url.'" target="_blank"><span class="title">'.$link->link_name.'</span></a><li>';
    
               else:
                 echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a class="fadeThis"$2><span class="title">$3</span><span class="pointer"></span></a>', wp_list_pages('echo=0&orderby=name&title_li=&exclude='.get_mystique_option('exclude_pages')));
               endif;
              ?>
    <li><a href="https://yoururladdress">your static link</a> </li>
          </ul>
    Forum: Fixing WordPress
    In reply to: editing pages

    Cool! I was just checking also and confirmed the address problem – if your remove “blog” in the url everything appears correctly.

    So you’re all set!

    Forum: Fixing WordPress
    In reply to: editing pages

    Did you try what I suggested. No need so far as I see to go to file manager. Just go to your WP dashboard and
    1. check if the default theme of wordpress works.

    2. check if the url addresses in settings > general are correct.

    You need to create templates that can be easily chosen for pages.

    You also have to create new headers (that would be called in the templates) that reflect the width you like.

    Experiment with a theme that has different page templates to get a feel of this.

    Forum: Themes and Templates
    In reply to: How do I…?

    Which theme is it? Most of these slide functions would require you to enter info on the custom field of the post, like the address of the image.

    Forum: Fixing WordPress
    In reply to: nextgen-gallery

    You are very welcome!

    My guess is the theme (as it is common) uses “wp_list_pages” for the nav bar. So you can just add normal links after that or even make the whole nav with html links

    Ex:

    <ul id="nabar">
      <?php wp_list_pages('child_of=20&exclude=13,151,148,501&sort_column=menu_order&title_li='); ?> <a href="https://yoururladdress">your link</a> </ul>
    Forum: Fixing WordPress
    In reply to: editing pages

    Is it also a problem if you use default theme?

    But I notice that all pages go to another subfolder “blog”. You may want to go to your admin panel then Settings>General to see if your wordpress and blog address are correct.

    Forum: Fixing WordPress
    In reply to: editing pages

    Forum: Fixing WordPress
    In reply to: WordPress Sections

    Hi. Sorry I have to stick to my original solution of creating different WordPress installations. That or create template pages for sections with a specific loop for a category of post . Something like the solution here https://www.wprecipes.com/wordpress-shortcode-display-the-loop. In effect, a page will have its own category.

    So yes indeed you have to be clear whether you will manage the main sections as categories or as pages because the structure you want seems like having post categories within a page category when wordpress by default treats them separately.

    As as I know the Rewrite rules solution won’t help you at all since it will just rewrite the URL for one “section” that you want.

    Forum: Fixing WordPress
    In reply to: WordPress Sections

    How do you plan to create and manage the “sections”? As pages or categories?

    Forum: Fixing WordPress
    In reply to: WordPress Sections

    I have a feeling this is also what carsonified.com did in a way – The site has manually coded html folders and a subsite of an installed wordpress blog…

    Forum: Fixing WordPress
    In reply to: WordPress Sections

    A bit clunky solution but I remember having a web client with two branches of their shop and each must have its own subsite in one domain, with slightly differences in theme and content.

    So I set up two almost identical wordpress sites in one domain. So two folders or sections. So the format was https://www.client.com/branch1 and https://www.client.com/branch2.

    Which resulted in something of what you imagine as sections. Of course the root folder or your themes should have external links to both wordpress sites.

    It’s actually easier than it sounds.

    NAVT plugin will help a lot for full control of sidebar.

    Or check the sidebar of branford magazine theme which uses a “More from this category” code.

Viewing 15 replies - 16 through 30 (of 33 total)