WordPress help - Ask your questions

Status
Not open for further replies.
Wow, some slick ones in there, thanks! Now I am on a mission to try get the one I want for free.
 
Wow, some slick ones in there, thanks! Now I am on a mission to try get the one I want for free.
Yeah, you can usually find for free the older ones, that are bought at least 300 times.
 
Hey OriginalEXE, thanks for the great thread! I have a question for you regarding the related videos section of my tube site. Atm, the videos it pulls are, by the looks of things, totally random. However I want to change that so that the related videos displayed are from the same category.

Here is the code that pulls the random vids:

PHP:
            <?php $args = array( 'numberposts' => 6, 'orderby' => 'rand' );

            $rand_posts = get_posts( $args );

            foreach( $rand_posts as $post ) : ?>

Any suggestions on how to modify it? Thanks a lot man - much appreciated!
 
Hey OriginalEXE, thanks for the great thread! I have a question for you regarding the related videos section of my tube site. Atm, the videos it pulls are, by the looks of things, totally random. However I want to change that so that the related videos displayed are from the same category.

Here is the code that pulls the random vids:

PHP:
            <?php $args = array( 'numberposts' => 6, 'orderby' => 'rand' );

            $rand_posts = get_posts( $args );

            foreach( $rand_posts as $post ) : ?>

Any suggestions on how to modify it? Thanks a lot man - much appreciated!

Change code to this:

PHP:
            <?php $args = array( 'numberposts' => 6, 'orderby' => 'rand', 'category' => ID OF THE CATEGORY );

            $rand_posts = get_posts( $args );

            foreach( $rand_posts as $post ) : ?>
 
Thanks a lot - got it to work as I wanted with:

PHP:
$category = get_the_category();
$category = (int) $category[0]->cat_ID;

$args = array( 'numberposts' => 6, 'orderby' => 'rand', 'category' => $category); 

    

            $rand_posts = get_posts( $args );

            foreach( $rand_posts as $post ) : ?>

:D
 
Last edited:
Thanks a lot - got it to work as I wanted with:

PHP:
$category = get_the_category();
$category = (int) $category[0]->cat_ID;

$args = array( 'numberposts' => 6, 'orderby' => 'rand', 'category' => $category); 

    

            $rand_posts = get_posts( $args );

            foreach( $rand_posts as $post ) : ?>

:D
Yeah, forgot to write the code for that part, was in rush.

Glad you managed to get the things working!
 
Am I being really dense here? I bought a tld but wordpress is making me use domain/wordpress which I'd rather not. Any tips on how to get links clicking direct to the tld?

thanks!
 
Am I being really dense here? I bought a tld but wordpress is making me use domain/wordpress which I'd rather not. Any tips on how to get links clicking direct to the tld?

thanks!

Upload the wordpress file in the root directory of the domain... like if its the main domain on your hosting account, then you need to upload WP files to public_html folder. (Assuming you're using cpanel).
 
Am I being really dense here? I bought a tld but wordpress is making me use domain/wordpress which I'd rather not. Any tips on how to get links clicking direct to the tld?

thanks!
WordPress is not 'making you' anything. Go to the Admin Dashboard - Settings - General and change the Site Address to http://www.yourdomain.tld

if you want to, you can also do this: Admin Dashboard - Settings - General and change the Site Address to http://www.yourdomain.tld but also, change WordPress address to the sme location. Click save, then go to CPanel, and transferr the files from /wordpress folder to public_html folder, and then login normally, without /wordpress in your url ;)
 
Hey mate. What is your opinion to adding a Gplus1 button to a wp site? Is there a good plugin you can recommend? :)
 
Managing WordPress 20 11 idea with primary accessibility and part primary but want to remove the area either end of the articles and make the accessibility higher.
 
OK, my first question of the day! I can't add a plus one button either by inserting code or using plugins because my theme has no sidebar. Is there a way around this as I think a GPlus button is an essential thing to have now days. Thank you in advance,

James :)
 
OK, my first question of the day! I can't add a plus one button either by inserting code or using plugins because my theme has no sidebar. Is there a way around this as I think a GPlus button is an essential thing to have now days. Thank you in advance,

James :)
Just send me details on private, where you want to put button, and I'll add it for you.
 
This is really nice thread. Thank you for helping in WP difficulties.

My question is about WP plugins for adding amazon affiliate. I have arrived at plugin amazonfeed, but not yet tried it. Is this plugin good? or suggest me the nice plugin which will hide code. Thanks in advance.
 
PM sent! Would just like to remind everyone how helpful OriginalEXE has been, he's never once complained, just come up with the goods and remember people, this dude is doing this for free, so I think plus reps are well deserved in this instance. I also think bk071 has been a great asset, so plus reps to him too.
 
Status
Not open for further replies.
Back
Top