Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter i3anton

    (@i3anton)

    I’m blaming wordpress because I didn’t get wordpress, I got inflated wordpress with no warning.

    I’m getting daily emails telling me I should spend money for my own safety yet it is wordpress being “attacked” not me. That’s not deniable.

    You agree it’s disrespectful but have no interest in doing anything other than hiding behind a freeforall license that somehow offers no sanctity.

    “We didn’t do that, you chose to do that.”

    100% incorrect. No one chooses to be lied to. We’re done here. Volumes.

    Thread Starter i3anton

    (@i3anton)

    I dont know why you guys can’t see it but the reality is this :

    I didn’t install wordpress, I installed wordpress + tax
    I was lead to believe I was installing wordpress

    That’s not freedom, that’s disrespectful, misleading and for some, dangerous.

    But of course, those who are in charge here, can treat people are they please. This is not my house. And you know full well that some people are not advanced wordpress site managers and THAT is why they should be outright told they are NOT getting what they think they are getting.

    There is a thin line between right and wrong. Safe and unsafe. But why wordpress dev would want to blur that just speaks volumes.

    Thread Starter i3anton

    (@i3anton)

    So why aren’t you FORCING a “modified” warning of some sort ?

    You are about to install wordpress plus tax. Not quite wordpress, because we gave away control.

    You should force it. Unless you don’t care about people who don’t know everything that you do. Denying that, isn’t enough.

    Thread Starter i3anton

    (@i3anton)

    You have no control over but the install on namesilo hosting is deployed with it built in and enabled ? Are hosting companies allowed to do this, ie deploy with third party built in ? I would like to know I am installing official installs, not someone elses idea of what they think is ok to deploy.

    Confused.

    Thread Starter i3anton

    (@i3anton)

    You know, I never thought about site hosts and the ability they may have to change a wordpress install on the fly or whatever is happening here but at no point have I asked for this ability on top of just wanting to install the original standard wordpress.

    https://ibb.co/dkYKfF6

    My site is a fresh install and hasn’t been touched previously for over a year. Hasn’t been marketed or anything. I haven’t been well so haven’t been doing anything with my site for some time. (years)

    • This reply was modified 3 years, 6 months ago by Jan Dembowski.
    Thread Starter i3anton

    (@i3anton)

    Thank you !

    i3anton

    (@i3anton)

    right click one of the images, find where they are…. use ftp or some other access, retrieve the files… use your favourite paint program and edit them. simply re-upload them. done.

    Thread Starter i3anton

    (@i3anton)

    I have solved this now. I had murdered the code when adding styles to the code instead of using css. If you need to see the final, hit the link in post one.

    Thanks WP community especially Alchymyth.

    Thread Starter i3anton

    (@i3anton)

    Out of respect and for anyone whom it may concern… I found that when adding formatting, without using a css I had nailed the whole thing.

    I have now fixed it so that each line breaks. Here’s the working code… my apologies if anyone gets caught up.

    Alcymyth ===> I hadn’t noticed your second post !! Thanks for your help again.

    <?php
    require('wp-blog-header.php');
    ?>
    <body bgcolor="#444444">
    <font face='arial' size='2' color='white'>
    <style type="text/css">
    <!--
    a {
    	font-size: 12px;
    	color: #FFFFFF;
    }
    a:visited {
    	color: #FFFFFF;
    }
    a:hover {
    	color: #FFFFFF;
    }
    a:active {
    	color: #FFFFFF;
    }
    body {
    	background-color: #4c4d51;
    }
    body,td,th {
    	font-family: Geneva, Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    }
    -->
    </style>
    <?php query_posts('showposts=10&cat=1'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br />
    <?php endwhile;?>

    This now does exactly what I want. Naturally, you maybe should use css so the style part is irrelevant.

    Thread Starter i3anton

    (@i3anton)

    Could really use some help for this folks, I bet its something simple but I had such a hard time solving the other issue I don;t know where to start with this.

    Thread Starter i3anton

    (@i3anton)

    Well that was simple enough

    <?php
    require('wp-blog-header.php');
    ?>
    <?php query_posts('showposts=5&cat=7'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
    <?php the_excerpt(); ?>
    <?php endwhile;?>

    I have since tried to directly put the two parts into the main page, ie the first being the news posts (2 latest) and the second being 4 other categories just as 4 separate lists. So 5 tables containing 5 pieces… alas I could’t work out the path easily enough. the path basically goes up from /blog and down into another folder. This gave path errors and knackered the whole page so I have put 5 separate php files in the /blog and called them as iframes. I am going to skip the thumbnails idea and just add one off images above each iframe.

    However, I noticed the lists are not formatted on a per line basis. THis is somehow caused by some post titles being wider than the iframe width, therefore spilling title 2 onto the third line and the third title then starts next to it. So in essence it looks like this:

    This is title one
    This is then title
    two This is then
    title three This is
    then title four
    This is then title five

    Not sure how to break them onto separate lines.

    Really pleased with what I have achieved so far though !

    Thread Starter i3anton

    (@i3anton)

    Now…………. the next part is to do a different version of above, for the most recent post showing the title, an excerpt and maybe a thumbnail but the thumbnail isn’t important as I may use a set image.

    If anyone can help, please step in.. I shall see what I can find out.

    Thread Starter i3anton

    (@i3anton)

    Ok I have got it to work with only concern now being to format the text size and color.. I am hoping that the output will assume the page settings I put this code on. But for anyone out there looking at how to do this, this is the working code I am using so far :

    <?php
    require('wp-blog-header.php');
    ?>
    <?php query_posts('showposts=5&cat=7'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br />
    <?php endwhile;?>

    As I say, aside from text formatting, this does exactly what I want.

    Thank you to Alcymyth for a quick nudge, it helped !

    Thread Starter i3anton

    (@i3anton)

    Lookng at the link you provided throws a little confusion for me.
    testing1.php uses
    <?php query_posts('showposts=3'); ?>
    alas the link I mention shows

    Show Posts for One Category

    Display posts that have this category (and any children of that category), using category id:

    $query = new WP_Query( ‘cat=4’ );

    Can someone guide me please ? As I say, I also need to limit how many posts it retrieves to around 5.

    Thread Starter i3anton

    (@i3anton)

    OK.. so far I have created two files in the blog root folder called testing.php and testing1.php

    testing.php contains

    <?php // Include WordPress
    define(‘WP_USE_THEMES’, false);
    require(‘http://SERVER/blog/wp-load.php’);
    query_posts(‘showposts=1′); ?>
    <?php while (have_posts()): the_post(); ?>
    <?php endwhile; ?>
    
    <?php while (have_posts()): the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_excerpt(); ?>
    <p><a href=”<?php the_permalink(); ?>”>Read more…</a></p>
    <?php endwhile; ?>

    returns :
    Parse error: syntax error, unexpected ':' in /home/SERVER/public_html/SERVER/blog/testing.php on line 3
    changing the url
    require(‘http://SERVER/blog/wp-load.php’);
    to
    require(‘wp-load.php’);
    returns
    Parse error: syntax error, unexpected '=' in /home/SERVER/public_html/SERVER/blog/testing.php on line 4

    testing1.php contains

    <?php
    require('http://SERVER/blog/wp-blog-header.php');
    ?>
    <?php query_posts('showposts=3'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br />
    <?php endwhile;?>

    returns

    Warning: require() [function.require]: URL file-access is disabled in the server configuration in /home/SERVER/public_html/SERVER/blog/testing1.php on line 2
    
    Warning: require(http://SERVER/blog/wp-blog-header.php) [function.require]: failed to open stream: no suitable wrapper could be found in /home/SERVER/public_html/SERVER/blog/testing1.php on line 2
    
    Fatal error: require() [function.require]: Failed opening required 'http://SERVER/blog/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/SERVER/public_html/SERVER/blog/testing1.php on line 2

    However I have just noticed two different urls in the above response. I’m starting to think that is where I am going wrong. Catch now is that I don’t wish to publish the url. hmm. So I remove the front of the url and point it straight to the wp-blog-header.php and OMG it worked ! Not sure why the first example doesn’t work but I see the second one is sheerly down to url.

    As you see this is simply calling the last 3 posts. I need to figure out how to do this per category now and then to format the text to suit. I have not used any css and have instead made each page from a template. Bad I know but still. Anyway, my brain is a little frazzled now.. I wonder if anyone could help me see how to call say 5 recent posts from a specific category.

Viewing 15 replies - 1 through 15 (of 18 total)