virgelle
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add Text (with link) to SidebarI am really green to all web editing stuff, and learn as I have problems doing what I want to do…So,
To remedy my original problem, I opened the /Add HTML-Javscript.php file, from my web directory on my server and edited the following line: <?php
global $site_url;
$editor_link=$site_url.’/wordpress/wp-content/plugins/steditor/index.html’
?> …so that it matched the address of the HTML-Javascript.php file in my directory…
This will direct the link at your https://www.YourSite.com/wordpress/wp-admin/widgets.php page to open the Wysiwyg window for adding text and link reference script to your sidebar, when you open the HTML-Javascript widget for editing…Using IE7, and MS FrontPage as my site editor and FTP client, I need to open the Wysiwyg from Admin page, enter text, click the make link icon, view source checkbox, select all, and press Ctrl+C to copy…for pasting into the widget editor interface…
Forum: Fixing WordPress
In reply to: Sidebar shows at bottom of single pages…Here is the script for my single.php page:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/get_header();
?><div id=”content” class=”widecolumn”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”navigation”>
<div class=”alignleft”><?php previous_post_link(‘« %link’) ?></div>
<div class=”alignright”><?php next_post_link(‘%link »’) ?></div>
</div><div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<h2><?php the_title(); ?></h2><div class=”entry”>
<?php the_content(‘<p class=”serif”>Read the rest of this entry »</p>’); ?><?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
<?php the_tags( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’); ?><p class=”postmetadata alt”>
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You’ll need to download this plugin, and follow the instructions:
https://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) – (60*120)); echo time_since($entry_datetime); echo ‘ ago’; */ ?>
on <?php the_time(‘l, F jS, Y’) ?> at <?php the_time() ?>
and is filed under <?php the_category(‘, ‘) ?>.
You can follow any responses to this entry through the <?php post_comments_feed_link(‘RSS 2.0’); ?> feed.<?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can leave a response, or ” rel=”trackback”>trackback from your own site.<?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can ” rel=”trackback”>trackback from your own site.<?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.<?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.<?php } edit_post_link(‘Edit this entry’,”,’.’); ?>
</small>
</p></div>
</div><?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: Add Text (with link) to SidebarOK… I just figured out how to do what I wanted…
You don’t need to open the WYSIWYG from the link on your site. You need only open the editor from the place you stored it on download and follow instructions from there…The learning curve is steep at this point.
Forum: Fixing WordPress
In reply to: Add Text (with link) to SidebarI installed the HTML-Javascript-Adder widget..and found how to add text to the sidebar.
Now I want to make the text into a link, and assume that the WYSIWYG editor would allow me to do that.
Can anyone tell me where I need to install the ‘steditor’ folder of this addin, in order for me to open it from the admin widgets page of my site?
The current path generated by the “Edit in WYSIWYG Editor” link points to https://www.canoemontana.com/wp-content/plugins/html-javascript-adder/steditor/index.html
It looks like the ‘steditor’ folder should be placed inside the ‘html-javascript-adder’ file?
Is that possible?
Thanks for any help…Forum: Fixing WordPress
In reply to: I changed the URL in the settings and…I used the free SQLyog utility to open my data base and change the site url back to the correct path… And that solved the same problem for me… I felt so stupid for changing that setting without knowing what I was doing. But then, we are all learning here… Thanks Samboll. And thanks to everyone working on this project.