Slide show does not work on my custom WP theme - wordpress

First I want to thank the WP team and all contributors for such amazing product.
I installed word press and started creating my own theme, however I went into a problem as I am new to Word press and Php development.
I installed a plug in which is a slide show when I put the tag into any of my posts it just done not work. I tried several slide show plug and all give the same result, which mean it is not the plugins problem. Also I tried with another themes and it worked which confirms my first conclusion .
Now I know i did not provide much information but I hope you provide me with some idea or "may be"s or if you want some code I will provided so you can help me with this one :)

Ok, I got this working what was missed is some functions in the head.php and the footer.php and those tags are <?php wp_head(); ?> and <?php wp_footer(); ?> respectively.

Related

Removing Comment Section and Date in Wordpress Projects and Posts

I was just wondering if there is a simple way to hide the comment box and date in WP posts and projects. I've followed everything and have unchecked the options under the screen options tab for both projects and posts and they are still showing. Anything other than good old CSS to hide this stuff?
Thanks!
Gerard
You can erase the HTML source code directly in yours templates files.
Open up your theme files, and look for your single.php file.
Look for a post meta section, and simply comment out/delete the part that generates the date, more than likely
<?php the_date(); ?>
Towards the bottom of the single.php file, there will most likely be some code that adds the comments form, again simply delete or comment it out, maybe: <?php comment_form(); ?>

What is lkujhbkj0?

I activated BuddyPress on Wordpress 3.9 and on BuddyPress pages (as register) it appears this strange code.
Googling it, it appears that many BuddyPress sites show the same code.
What is it? Is there a way to hide it?
Thanks
EDIT:
The Wordpress installation is indeed with a commercial theme named Avada.
The behaviour can be seen in a page like this one, which is the profile page of a BuddyPress profile.
I would be able to post a solution for the question, but apparently I cannot...
SOLUTION
I found this on line 39 in the buddypress.php file in the Avada theme folder
<?php echo "lkujhbkj".$post->ID; ?>
This solved my issue
<span style="display:none"><?php echo "lkujhbkj".$post->ID; ?></span>
There are only 45 results when googling for this string. What all sites with this bug have in common is the theme Avada:
. . .
As confirmed by the OP, the theme has the following code:
<?php echo "lkujhbkj".$post->ID; ?>
It makes no sense at all (in WP, HTML, JS or CSS terms) and, I think, can be safely removed.

Wordpress adding thumbnails to category

How to take on a problem in WordPress admin editing.
I'd like to edit an edit-category admin panel to add a featured image to it (just like in posts), but I'm a bit indecisive since a lot of people use a custom field with static path to a photo, but I'm wondering is there a way to do it better(enable some wp hook and such).
Can someone point me in the right direction?
Thanks for the plugin it seems good, but i have one additional problem. It seems i have a lack of knowledge on how to query an object [category] so i can apply filters, hope im making some sense. This is done on my home.php. all dumps are null
<?php get_header();
$listcat = get_categories('hide_empty=0');
foreach($listcat as $x){
$img = apply_filters( 'taxonomy-images-queried-term-image', '');
var_dump($img);
}
get_footer(); ?>
The same code works with no problems if i stick it in category.php. Any ideas? :)
i've used several times the plugin "Taxonomy Images". it works with multi-language wp installs too.
link with instruction: http://wordpress.mfields.org/plugins/taxonomy-images/

Permalink-safe way to link pages inside footer.php

I am currently building a new theme for my site and am kind of stuck not knowing the proper way to link pages together. What is the proper way to direct visitor to another page if I were to write the link straight into footer.php?
Let's consider the following inside footer.php:
?>
A Link
<?php
That would work well up until I were to change my permalink structure to something else.
What is the proper way to do it(without using WP built in menus or anything similar)?
You can use get_permalink assuming your pages are in Wordpress.
See this link: http://codex.wordpress.org/Function_Reference/get_permalink
The above answer is 100% correct, but to save people some time when they stumble upon this question, I took the liberty of writing it out.
<?php echo get_the_title(12); ?>
This covers everything from hover text to dynamic page title, so if you decide to change "Contact" to "Contact Us," you won't have to remember to update the footer.php file.

Shortcode is not working in wordpress 3.0

Is there anything need to enable for shortcode to work in Wordpress 3.0? I have tried some short codes and none of them working as expected.
regards - dj
If its a template file you are trying to put them into you will need to put the code into a function and display it like:
<?php echo do_shortcode( '[contact-form-7 id="448" title="Contact"]' ); ?>
I am guessing you have it all sorted by now though as I have just checked when this was posted.
Short codes are as simple or as complex as you intend them to be. Also they can solve some pretty annoying problems and add a lot of functionality for your users. One thing I always use a short code for is embedding YouTube videos and media of the same format.
Here are some links that may help you:
Google Maps Short Code - by Chris Coyier # http://www.digwp.com/
Short Code API - WordPress Codex page about
short codes
Plus make sure you call the following function
the_content()
to output your content

Resources