• rbassman

    (@rbassman)


    Okay,
    I’m assuming this is an obvious request but I’m driving myself bonkers trying to figure out where to make this edit.
    I’m using the neuron theme, so the path should be
    server/public_html/wp-content/themes/Neuron.

    And I’m assuming I should be editing the sidebar.php file, but I’m not seeing where these edits can be made.

    I’d like to customise these right-field tables, any assistance is appreciated. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • davestinner

    (@davestinner)

    To change the links in the blogroll and rename the title of the list, go to https://www.yoursite.com/wp-admin/link-manager.php
    To change the “meta” area in the sidebar, it starts at line 57 in sidebar.php (assuming you’re using the default theme)
    <li><h2><?php _e('Meta'); ?></h2>
    <ul>
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="https://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
    <li><a href="https://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    <li><a href="https://www.ads-software.com/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>
    <?php wp_meta(); ?>
    </ul>
    </li>

    Thread Starter rbassman

    (@rbassman)

    Hello Again davestinner!

    And thank you again for your help.

    The following is the contents of my sidebar.php file for Neuron.
    I know that netiqquette dictates I should email the author, but he seems to be unable to receive mail at the moment, and I’d like to use this theme and make it work.
    If this means I have to revert to the defaut WP theme (which actually is pretty cool) then so be-it, provided it doesn’t cause some radical uprising of WP fanatics. ??
    Still figuring out how that end works…

    Thanks again…

    <?php
    $mode = ‘sidebar’;

    $standalone = 1;
    require_once(‘admin-header.php’);

    get_currentuserinfo();

    if ($user_level == 0)
    die (“Cheatin’ uh ?”);

    if (‘b’ == $_GET[‘a’]) {

    ?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head>
    <title>WordPress › Posted</title>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=UTF-8″ />
    <link rel=”stylesheet” href=”wp-admin.css” type=”text/css” />
    </head>
    <body
    Posted !
    Click here to post again.
    </body>
    </html><?php

    } else {

    ?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head>
    <title>WordPress › Sidebar</title>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘blog_charset’); ?>” />
    <link rel=”stylesheet” href=”wp-admin.css” type=”text/css” />
    <style type=”text/css” media=”screen”>
    form {
    padding: 3px;
    }
    .sidebar-categories {
    display: block;
    height: 6.6em;
    overflow: auto;
    background-color: #f4f4f4;
    }
    .sidebar-categories label {
    font-size: 10px;
    display: block;
    width: 90%;
    }
    </style>
    </head>
    <body id=”sidebar”>
    <h1 id=”wphead”>WordPress</h1>
    <form name=”post” action=”post.php” method=”POST”>
    <div><input type=”hidden” name=”action” value=”post” />
    <input type=”hidden” name=”user_ID” value=”<?php echo $user_ID ?>” />
    <input type=”hidden” name=”mode” value=”sidebar” />
    Title:
    <input type=”text” name=”post_title” size=”20″ tabindex=”1″ style=”width: 100%;” />

    Categories:
    <span class=”sidebar-categories”>
    <?php dropdown_categories(); ?>
    </span>

    Post:
    <textarea rows=”8″ cols=”12″ style=”width: 100%” name=”content” tabindex=”2″></textarea>

    <input name=”saveasdraft” type=”submit” id=”saveasdraft” tabindex=”9″ value=”Save as Draft” />
    <input name=”publish” type=”submit” id=”publish” tabindex=”6″ style=”font-weight: bold;” value=”Publish” />

    </div>
    </form>

    </body>
    </html>
    <?php
    }
    ?>

    bluegator2

    (@bluegator2)

    rbassman:

    Not unavailable, I just haven’t posted my email for all to see yet. I’d like not to start getting junk mail at all hours..

    Anyway, I’m not quit sure where that sidebar.php code that you posted came from, as it looks nothing like the code in the Neuron sidebar (at least nothing that I recall writing).

    I don’t have the exact line numbers off hand, but if you visit my site (https://devel.bluegator.org/), I’m going to post my contact info for Neuron support.

    Thanks for using the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing links in blogroll and meta tables.’ is closed to new replies.