tiffanyscott
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to add meta tags to customizr child themeI fixed how my page shares content on facebook by going to
https://developers.facebook.com/tools/debug/og/object/
& fetching new scrape information (had to press about three times for each link to actually update). I also updated Customizr today and that may have fixed some things, not sure, but it looks how I want now. Still don’t understand meta-tags fully though, but marking this as resolved anyways.Forum: Fixing WordPress
In reply to: searchsubmit moving in different browersI found this to add to CSS and it worked,
#search { margin-top: 1px; display: inline; float: left; margin-left: 10px; margin-right: 10px; width: 220px; } #search form { position: relative; } #search input { padding: 0 10px 0 29px; color: #555555; border: none; background: url('/images/bg_searchbar.png?1296191141') no-repeat; width: 180px; height: 29px; overflow: hidden; } #search input:hover { color: #00ccff; background-position: 0px -32px; }
Forum: Themes and Templates
In reply to: float content differently on different pagesnevermind. I just left it as-is and went into the dashboard to update the actual page content and wrote <center> TEXT </center> on the page I wanted to specifically centered. Easy fix.
Forum: Themes and Templates
In reply to: float content differently on different pagesI figured out the second part of this question; I just aligned the text:
`.span9.article-container {
border-radius: 10px;
background: #FAFAFA;
text-align: center;
}’nevermind, it was a glitch in the html probably from copying and pasting back and forth. fixed. thanks. marking as resolved.
I did this to the style: `.ad-1.span4, .ad-2.span4, .ad-3.span4 {
width: 32%;
float: right;
background: #D6EFE9;
}.ads-container {
text-align: center;
}.row:after, .row:before {
display: table;
content: initial;
line-height: 0;
}.row {
margin-left: -46px;
}`but I’d like it higher up..would you know what I should add?
oh. lol. that worked, I will play around with the styling thanks!!
let me clearify, when it shows up in the dashboard, I meant it is randomly appearing on the left side of my entire dashboard as clickable ads, very strange.
The code you gave has it showing up in the dashboard area of wordpress as well as behind the navbar on the frontend.
Thank you, I have ads placed at the footer of my site that are in the “footer widget area one”, “footer widget area two”, and “footer widget area three.” I have gone through the screenshots you put up and that would leave them all in order like this:
1 Ad
2 Ad
3 AdI want them like this: 1 Ad – 2 Ad – 3 Ad. That is why I need three separate widgets to mirror my footer widgets. I’m not sure if I am getting what I am looking for across correctly.
Thanks, yes I want three widgets, but I want them all side by side just as I have them in the footer area (1st widget, 2nd widget, 3rd widget) all under the slider – currently I have 1 widget with the above code, but I am looking for the code to get the other two widgets next to it. Thanks again. My website is https://sproutedjourney.com.
Forum: Themes and Templates
In reply to: [Customizr] delete searchform inside of posts&pagesTHAT WORKED. thanks!!!
Forum: Themes and Templates
In reply to: [Customizr] delete searchform inside of posts&pagesI’ve been making the changes in a child theme of customizr. https://sproutedjourney.com/ is my website. thank you!
Forum: Themes and Templates
In reply to: [Customizr] delete searchform inside of posts&pagesThank you for your help, unfortunately that didn’t change anything. I found it in wp-includes.
Forum: Themes and Templates
In reply to: [Customizr] delete searchform inside of posts&pagesi’m using customizr child theme, i do not see a search.php, but there is a general-template.php that has the following code (should i do something to it?):
/**
* Display search form.
*
* Will first attempt to locate the searchform.php file in either the child or
* the parent, then load it. If it doesn’t exist, then the default search form
* will be displayed. The default search form is HTML, which will be displayed.
* There is a filter applied to the search form HTML in order to edit or replace
* it. The filter is ‘get_search_form’.
*
* This function is primarily used by themes which want to hardcode the search
* form into the sidebar and also by the search widget in WordPress.
*
* There is also an action that is called whenever the function is run called,
* ‘pre_get_search_form’. This can be useful for outputting JavaScript that the
* search relies on or various formatting that applies to the beginning of the
* search. To give a few examples of what it can be used for.
*
* @since 2.7.0
*
* @param boolean $echo Default to echo and not return the form.
* @return string|null String when retrieving, null when displaying or if searchform.php exists.
*/
function get_search_form( $echo = true ) {
/**
* Fires before the search form is retrieved, at the start of get_search_form().
*
* @since 2.7.0 as ‘get_search_form’ action.
* @since 3.6.0
*
* @link https://core.trac.www.ads-software.com/ticket/19321
*/
do_action( ‘pre_get_search_form’ );$format = current_theme_supports( ‘html5’, ‘search-form’ ) ? ‘html5’ : ‘xhtml’;
/**
* Filter the HTML format of the search form.
*
* @since 3.6.0
*
* @param string $format The type of markup to use in the search form.
* Accepts ‘html5’, ‘xhtml’.
*/
$format = apply_filters( ‘search_form_format’, $format );$search_form_template = locate_template( ‘searchform.php’ );
if ( ” != $search_form_template ) {
ob_start();
require( $search_form_template );
$form = ob_get_clean();
} else {
if ( ‘html5’ == $format ) {
$form = ‘<form role=”search” method=”get” class=”search-form” action=”‘ . esc_url( home_url( ‘/’ ) ) . ‘”>
<label>
<span class=”screen-reader-text”>’ . _x( ‘Search for:’, ‘label’ ) . ‘</span>
<input type=”search” class=”search-field” placeholder=”‘ . esc_attr_x( ‘Search …’, ‘placeholder’ ) . ‘” value=”‘ . get_search_query() . ‘” name=”s” title=”‘ . esc_attr_x( ‘Search for:’, ‘label’ ) . ‘” />
</label>
<input type=”submit” class=”search-submit” value=”‘. esc_attr_x( ‘Search’, ‘submit button’ ) .'” />
</form>’;
} else {
$form = ‘<form role=”search” method=”get” id=”searchform” class=”searchform” action=”‘ . esc_url( home_url( ‘/’ ) ) . ‘”>
<div>
<label class=”screen-reader-text” for=”s”>’ . _x( ‘Search for:’, ‘label’ ) . ‘</label>
<input type=”text” value=”‘ . get_search_query() . ‘” name=”s” id=”s” />
<input type=”submit” id=”searchsubmit” value=”‘. esc_attr_x( ‘Search’, ‘submit button’ ) .'” />
</div>
</form>’;
}
}/**
* Filter the HTML output of the search form.
*
* @since 2.7.0
*
* @param string $form The search form HTML output.
*/
$result = apply_filters( ‘get_search_form’, $form );if ( null === $result )
$result = $form;if ( $echo )
echo $result;
else
return $result;
}