haxxxton
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: visible only for registered usersHave a look at the Member Access plugin
Forum: Fixing WordPress
In reply to: Cinema site, retrive the movies that actor play inif you are using custom fields for your storage of person and films you should be able to create a custom query like:
//The Query $the_query = new WP_Query( array( 'meta_key' => 'persoane', 'meta_value' => 'Bruce Willis' ) ); // The Loop while ( $the_query->have_posts() ) : $the_query->the_post(); echo '<li>'; the_title(); echo '</li>'; endwhile; // Reset Post Data wp_reset_postdata();
for more information have a look HERE.
Forum: Fixing WordPress
In reply to: How to use Photoshop Files (PSD) with Themesthe PSD generally will be ‘sliced’ into the relevant sections so that you can replace the theme’s default styling..
you can see if there are slices present by pressing View > Show > Slices
however, if there are no slices currently set up you will have to manually export each section to replace the theme’s default styling.
There is a great tutorial on slices here or a video here.Forum: Fixing WordPress
In reply to: Using PHP files with wordpressif it was in the site’s root directory the above should work ??
except if it is in the
template’s root directory
you will probably need to link to it using the WHOLE url like:
https://www.yoursite.com/wp-content/themes/your-theme/example.php
Forum: Fixing WordPress
In reply to: Deleting Comments section from Twenty Eleven ThemeSettings >> Discussion >> uncheck Allow people to post comments on new articles
should be the 3rd box from the top
Forum: Fixing WordPress
In reply to: Get ID of current taxonomyyou could do a $wpdb query like
//get the IDs $taxonomy_IDs = $wpdb->get_col("SELECT term_taxonomy_id FROM $wpdb->term_relationships WHERE object_id = '".get_the_ID()."'"); //output the IDs echo implode(',', $taxonomy_IDs);
but you’d be doing that for EACH post.. and is a little server heavy
Forum: Fixing WordPress
In reply to: Photo database on websiteid say the best way to do that would be to have each as a post.. with meta values/categories/tags if you wanted to filter them.. then have the images as each post’s thumbnail..
unfortunately to have a database of images with content associated with them.. you gotta put it into the database to begin with.. which is what it looks like they have done on that site..
Forum: Fixing WordPress
In reply to: Photo database on websiteI would suggest using a plugin
if you mean like a gallery
try a plugin like Next Gen Galleryif you mean like a slider
try a plugin like NivoSliderForum: Fixing WordPress
In reply to: Adding sub-pages to custom rewrite urlNo huff here, merely an example of useless posting vs constructive posting..
Your ‘help’ in this post hasn’t been. You are providing personal opinion based on no evidence. I have repeatedly asked you to stop posting in this thread as you have nothing more to add than a vague notion.
What the opening post is asking is perfectly reasonable and exists in themes like BuddyPress. Unless you know how to do it please do not post again. Your belligerent nature and overall lack of usefulness are unwanted here.
Forum: Fixing WordPress
In reply to: Adding sub-pages to custom rewrite urlThat’s great.. But generally, advice is given based on either experience or evidence.. Given you have provided me with neither its about as useful as posting ‘I have a car. The car has an issue. Fix it’ (for clarity – that’s NOT useful)
Forum: Fixing WordPress
In reply to: Adding sub-pages to custom rewrite urlso it’s neither a point that occurs often enough that anyone raises it in forums NOR blog about it!? – again FILLING me with confidence of your proficiency on this subject
if you want me to trawl through PAGES of google search results to find a site that MAYBE provides support to an issue that ONLY you thinks exists, im going to kindly ask you to get lost..
either provide me with a link yourself.. or STOP POSTING ON THIS THREAD.. simples
Forum: Fixing WordPress
In reply to: Adding sub-pages to custom rewrite urlyep.. first 10 search results (HERE with quotes, and HERE without quotes) are either links to the function references that I have already provided, or people talking about security plugins with NO reference to ANY issues in the author template.. with the exception of PERHAPS THIS however, it is clearly his PERSONAL opinion about usernames vs emails..
when you find evidence id be happy to listen.. but telling me to ‘google it’ doesnt really fill me with any strong belief that you know of any security issues outside of those that a privacy policy negates..
THIRD TIME NOW IM GOING TO ASK YOU TO REFRAIN FROM POSTING ON THIS THREAD AS YOU HAVE NOTHING TO OFFER
Forum: Fixing WordPress
In reply to: Code reverts to ''' in header.phpIt looks like for some reason however you were editing the header.php wasnt decoding the html entities correctly
' is a ‘
if you can.. use FTP and a php editor (Notepad++ is always good) to the changes to your header.php and then reupload it to your theme..
Forum: Fixing WordPress
In reply to: What does -> means?it is to do with the way the variable is set up.. it is called an object operator and is used when you want to call a method on an instance or access an instance property.
think of it as loosely similar to an array eg $prev_post[guid]
Forum: Fixing WordPress
In reply to: Showing Post ID on all poststhis will require that you add some code to your current theme.. have a look at the function called
the_ID()
REF: HEREyou should be able to then place that where you want to show the ID of the post ??