Big Bagel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to change headerThis is actually the www.ads-software.com forum.
https://en.support.wordpress.com/com-vs-org/
The forum/support page over at WordPress.com will be able to provide more relavent/knowledgeable help.
https://en.forums.wordpress.com/
https://en.support.wordpress.com/Forum: Fixing WordPress
In reply to: Problem with screen optionsYour theme has to specifically tell WordPress that it supports post thumbnails. To do this, you use
add_theme_support
:Function Reference/add theme support
In this case:
add_theme_support( 'post-thumbnails' );
A couple relavent links:
https://www.sitepoint.com/how-to-add-featured-image-thumbnails-to-your-wordpress-theme/
Forum: Fixing WordPress
In reply to: How to add sub links in google search ?Google creates those automatically.
https://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=47334
Forum: Fixing WordPress
In reply to: Side bar / Widget QueryNo, it looks like you’ve replaced the code that would show your widgets with hardcoded custom queries/loops. You have to have a call to
dynamic_sidebar
.Function Reference/dynamic sidebar
Look at an unaltered version of Twenty Ten’s
sidebar.php
to see an example of howdynamic_sidebar
is used in the context of you theme.You could always save a post/page as a draft. Then it won’t appear on your site at all until you publish it.
Forum: Fixing WordPress
In reply to: Redirecting my wordpress site to a new domain wordpress site.If you’re redirecting a site on WordPress.com (example.wordpress.com) it has to be done through them.
Forum: Fixing WordPress
In reply to: Redirecting my wordpress site to a new domain wordpress site.I just wanted to make sure since it’s possible to use your own domains on WordPress.com. So, you’re looking to redirect a WordPress.com site to your own? That’s still a question that primarily falls within the realm of WordPress.com:
https://en.support.wordpress.com/site-redirect/
Your site isn’t really hosted here. www.ads-software.com and .com are separate entities:
Forum: Hacks
In reply to: "widget" function not being called@os1:
Since the OP hasn’t said anything in a couple weeks, I would assume his issue was resolved. The problem here was with what
id_base
was set to. It would be best to start another topic specific to your question(s).Forum: Fixing WordPress
In reply to: Redirecting my wordpress site to a new domain wordpress site.When you say “both use WordPress” do you mean both are hosted on WordPress.com? If so, you should try their forum/support page instead. You’ll find people who are more knowledgeable about WordPress.com there.
https://en.support.wordpress.com/com-vs-org/
https://en.forums.wordpress.com/
https://en.support.wordpress.com/Forum: Fixing WordPress
In reply to: Remove unwanted scripts from the headerEditing core files isn’t a good idea. The proper way to remove the links to
xmlrpc.php
andwlwmanifest.xml
is by adding something like this to your theme’sfunctions.php
or a custom plugin:remove_action( 'wp_head', 'rsd_link' ); remove_action( 'wp_head', 'wlwmanifest_link' );
To remove
l10n.js
(or any registered script) you can simply deregister it like this:if ( !is_admin() ) { add_action( 'init', 'my_init' ); function my_init() { wp_deregister_script( 'l10n' ); } }
Function Reference/wp deregister script
I would image most people aren’t too concerned about this. The files added by WordPress itself are fairly small and necessary for certain functionality.
Forum: Fixing WordPress
In reply to: Show/Hide div in loopThe external JavaScript file is currently being added correctly to every page but this one. If you check your site’s footer on any other page:
<script type='text/javascript' src='https://scottcarltonblog.net/wp-content/themes/BLANK-Theme/author-toggle.js?ver=3.2.1'></script>
Is the “our-team” page using a custom template? It seems to be missing the footer:
get_footer();
If you want to move the file here:
wp-content/theme/BLANK-Theme/js/author-toggle.js
Then you just need to alter the second argument of
wp_register_script
:add_action( 'wp_enqueue_scripts', 'add_my_js' ); function add_my_js() { wp_register_script( 'my-author-js', get_template_directory_uri() . '/js/author-toggle.js', array( 'jquery' ), false, true ); wp_enqueue_script( 'my-author-js' ); }
And, if you want to have it only load on this one page, you can do this:
add_action( 'wp_enqueue_scripts', 'add_my_js' ); function add_my_js() { if ( is_page( 8 ) ) { wp_register_script( 'my-author-js', get_template_directory_uri() . '/js/author-toggle.js', array( 'jquery' ), false, true ); wp_enqueue_script( 'my-author-js' ); } }
Forum: Fixing WordPress
In reply to: Forums DirectorySince that seems to be a problem with BuddyPress, you might try asking in their support forum:
https://buddypress.org/support/topics/
Edit:
I noticed you’re also using bbPress. Here’s their support forum:
You can add the tag(s) “buddypress” and/or “bbpress” to this topic if you want it to appear on either of their plugin pages. I don’t know enough about these plugins to suggest anything.
Forum: Fixing WordPress
In reply to: Forums DirectoryAre you referring to this forum? You were able to create this new topic…
Forum: Hacks
In reply to: How do i combine POSTS and PAGES in one listing?For secondary loops using
get_posts
or manually creating new WP_Query objects like my example above is generally the way to go.Template Tags/get posts
Class Reference/WP QueryWithout knowing specifically what you’re looking to do (including your current queries or what posts/pages you’re looking to query for, the order of their display, what exactly you mean by a slider, etc.) it’s difficult to comment on anything else.
Forum: Hacks
In reply to: How do i combine POSTS and PAGES in one listing?query_posts
is for altering the main loop. What are you wanting to accomplish?