help with web designing (Page 2)

Retaliation666
Retaliation666: I can do job contact me.
8 years ago Report
0
StephyLee
8 years ago Report
0
Retaliation666
Retaliation666: I can do design for you free you are butiful lets talk : xiniminus911 skype me im online. Thanks
8 years ago Report
0
Geoff
Geoff: Free is worth every penny.
8 years ago Report
1
StephyLee
StephyLee: I've been using WordPress.com for a few months, but I didn't really like it. I'm unable to change the text size of my text and I'm not able the categorize my blog entries as pages. I also find that when ever I start a new line for my text, it always skip a single line. ( I figured I have press shift+enter to start on a new line). I find the spacing and the indentation to be a but awkward.
8 years ago Report
0
StephyLee
StephyLee: By pages*
8 years ago Report
0
StephyLee
StephyLee: A bit*
8 years ago Report
0
Geoff
Geoff: You can upgrade the text editor to give you more control over the text size (without having to learn HTML and manually editing the code). For instance, the TibyMCE Advanced plugin.
https://wordpress.org/plugins/tinymce-advanced/

You should be able to split the blogs between separate pages, but this is mostly down to the theme you use. Here's a tutorial on setting that up;
http://www.wpbeginner.com/wp-tutorials/how-to-create-a-separate-page-for-blog-posts-in-wordpress/

The reason for the 'double-lines' on hitting return is that there's a difference between a paragraph break and a line-break. This is common between Microsoft Word and HTML. Again, I think there's a plugin that can make this easier, although it might conflict with the advanced text editor.
8 years ago Report
1
StephyLee
StephyLee: I'm currently using wordpress.com not .org. I guess because I don't want to pay for a domain. I previously used a free domain, but I was scared that if that free domain is down, I'll lose all my stuff.
That link only teaches you how to display all your blogs in a page. I want my blogs to be categorised by pages. So, each page should have a specific type of blogs.
8 years ago Report
0
Geoff
Geoff: Ah, you just have to create new categories (in the left hand column of the admin dashboard underneath the post option. Then when you write a blog, you can select the category for it from the list on the right under the publish button.

It may be that your theme doesn't automatically list the categories. You can sort that by changing the links in the menu (by linking directly to the category) or use a widget to list them.
8 years ago Report
1
StephyLee
StephyLee: Ok, I believe I just need to change the links for the menus.
8 years ago Report
0
Geoff
Geoff: In the menus page of the admin dashboard, you can select categories directly, they're under the pages links.
8 years ago Report
1
StephyLee
StephyLee: ya, i remember. but you can't add a dash to the url. So, "/tag/wireclub" doesn't work. It only accepts "wireclub"
8 years ago Report
0
Geoff
Geoff: There is a difference between tags and categories, but even so I think it's possible to do that by adjusting the way the permalinks are set.
https://codex.wordpress.org/Using_Permalinks

There's a more complete series of instructions here:
https://premium.wpmudev.org/blog/how-to-use-wordpress-category-and-tag-base-to-improve-your-seo/
8 years ago Report
1
StephyLee
StephyLee: When ever I try to post a snippet of Java code on a blog entry, I use the following html code:

[code language="java"]
System.out.println("hi";
[/code]

Everything seems to work fine after I publish the blog entry.
System.out.println("hi" ;
will be displayed in a Java format.

But it becomes a nightmare if I try to edit the post again!!!!! When I try to edit the blog again, the text editor will display that text as:

[code language="java"]
System.out.println("hi&quot ;
[/code]


All the quotes becomes "
and when I publish the blog entry again, it displays the code as:
System.out.println("hi&quot ;

WTH. Please help me here.
Similarly,
< becomes &lt;
> becomes &gt;
(Edited by StephyLee)
8 years ago Report
0
StephyLee
StephyLee: Please tell me the steps to fix this problem.
8 years ago Report
0
Geoff
Geoff: That's standard, I'm afraid. Those are HTML special characters.

If you look at the source code of any website you'll see all of the tags are contained in angle brackets (the less than and greater than symbols). Similarly, semicolons and quotation marks have their own importance. To make sure the page renders properly in the browser, Wordpress generally needs to substitute these characters for HTML entities, otherwise they could 'break' the page.

This particular problem shouldn't matter to the browser with script snippets, as they should be parsed as script not HTML, but it seems Wordpress doesn't realise that.

According to the Wordpress.com support documentation;
"Code in between the source code tags will automatically be encoded for display, you don’t need to worry about HTML entities or anything."
https://en.support.wordpress.com/code/posting-source-code/

But from what I could find, the rich editor is prone to encode special characters anyway and break your scripts. My first suggestion would be to enter it using the raw text editor.

Failing that, there's a plugin that allows you to store code snippets in a library on your Wordpress blog and then call them in posts using shortcodes.
https://wordpress.org/plugins/insert-html-snippet/

There is also the potential problem that your theme might be site up to double-check encoding and again not be programmed to take code snippets into account. The Wordpress codex does offer another solution;
https://codex.wordpress.org/Using_Javascript#JavaScript_in_Posts

However, that example uses JavaScript, not Java. You'd need to embed Java using an <object> tag, as shown in this answer on StackOverflow:
http://stackoverflow.com/a/5693088/3660390
8 years ago Report
0
StephyLee
StephyLee: ok, I'll try to use the object tag to see if it works.
I'm planning to repost all my blog entries as pages because I find it hard to view and organize my post with tags and categories. I can organize my pages through the menu which is more easy to view and organize.
8 years ago Report
0
StephyLee
StephyLee: Nvm, you can add blog posts in the menu.
8 years ago Report
0
Geoff
Geoff: Yes, you can. You can also create a dedicated page for blogs in a particular category by using a shortcode.

[display-posts category="categoryname"]

https://en.support.wordpress.com/display-posts-shortcode/
8 years ago Report
0
StephyLee
StephyLee: http://mobile.htmlgoodies.com/beyond/cms/slideshows/10-tips-for-writing-code-in-wordpress-posts.html

Slide 6/11 shows the trouble that i was having. I might try <pre> and <code> tags.
8 years ago Report
0
StephyLee
StephyLee: The github gist method seems interesting too
8 years ago Report
0
StephyLee
StephyLee: Gist is working great!
8 years ago Report
0
StephyLee
StephyLee: But the code doesn't have any syntax highlights. Oh well.
8 years ago Report
0
Geoff
Geoff: You can compose the code somewhere that does have highlighting, something like either jsfiddle online or a desktop app like Atom. Then simply copy/paste the code.
8 years ago Report
0