prosper salama
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [SKT Girlie Lite] Expanding page content widthHi bro
really if you want to expend the content width of one plugin you can procedure like this
the $content_width must be set in the global scope as early as possible. i suggest that this is done at the very top of functions.php outside of any class or function.
<?
exampleif ( ! isset( $content_width ) )
$content_width = 640;
?>Forum: Themes and Templates
In reply to: [Freak] Sub Menu ColorI hope you are going to be satisfied with the solution, If you are, you can accept the answer with a green tick. Then you can give
the ul a id in the submenu something like this<li><a href="brand.html">Brand</a> <ul id="submenu"> <li><a href="#">AAAAAA</a></li> <li><a href="#">BBBBBB</a></li> </ul> </li>CSS
#submenu li a { color:green; }OR This is the CSS to change the dropdown menu style/color..
.navbar-default .navbar-nav .open .dropdown-menu>li>a, .navbar-default .navbar-nav .open .dropdown-menu { background-color: #3344ff; color:#ffffff; }- This reply was modified 9 years, 5 months ago by prosper salama.
- This reply was modified 9 years, 5 months ago by Jose Castaneda. Reason: added backticks for code
Forum: Themes and Templates
In reply to: [Lectura Lite] Warning: Cannot modify header informationHi
this is the way you can try to discover the problem and let me hope that it will help
The header must come first in the response from a web server and is separated from the body by one blank line. The reason this error occurs is that some part of the body of the web page has been sent to the user already when a request is made to set a header value. Because PHP simplifies many things for you, the problem may be hiding in plain site. Here are some guidelines for finding the problem:1) Find the header() statement that is causing the problem. The error must be at or before this line.
2) Look for any statements that could send output to the user before this header statement. If you find one or more, change your code to move the header statement before them. Complex conditional statements may complicate the issue, but they may also help solve the problem. Consider a conditional expression at the top of the PHP script that determines the header value as early as possible and sets it there.
3) Make sure there is no white space outside of the php start and end tags. While a blank line before the <?php start tag may look innocent, when processed by PHP, it will turn into an echo statement printing out a blank line. This is a common culprit.
Forum: Networking WordPress
In reply to: Multisite only visible when logged inHI bro
you can try with this really if you cant still access the to the main domaine.Have you recently activated SSL certificate on your site and are unable to login to WordPress? In such a case, ensure that you’ve correctly configured SSL certificate and settings related to it. Improperly configured SSL certificate may cause login issues.
Edit your wp-config.php file
Some users make changes in: Settings > General, and update WordPress Address (URL) and Site Address (URL) from there. By mistake, you might have added HTTPS to the URL. For example; https://yoursite.com instead of http://yoursite.
Forum: Networking WordPress
In reply to: Multisite only visible when logged inhi please this link might help if you try to view to content thank you
http://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/Forum: Networking WordPress
In reply to: Multisite setip wizardHi bro this might help
Enabling registrations so people can sign up for a username and/or site using your signup page is as simple as:Go to Settings > Settings in the network admin dashboard.
Select “Both sites and user accounts can be registered”Use “Logged in users may register new sites”– if you want to limit site creation to only logged in users using your signup page
We recommend that you consider using the following options to reduce splogcreations on your network:
Use Limited Email Registrations to restrict who can signup to specific email domains
Install Anti-splog plugin
Click Save Changes at the bottom of the page
Adding a link to your Sign-up page on your main siteYou need to create a link to your signup page from the front page of your main site so people know where they can register for a site on your network by either:
Using a theme that includes an option to add a link to your signup page
Adding a link to your signup page
Using an admin bar that includes a link to sign up for a siteYour signup page is located at http://example.com/wp-signup.php
Now anyone can sign up as follows using your Sign-up page:Click on Sign-up link
This takes you to the sign-up page where you sign up for a username only or username and site.The signup page on a WordPress Multisite install is located at http://example.com/wp-signup.php whereas on a BuddyPress install it is located at http://example.com/register
Forum: Themes and Templates
In reply to: [SKT Girlie Lite] Expanding page content widthafter installing and really the plugin while is activated you can use the following codes
#side bar{
display:none;
width:auto;
margin:auto;}
#site-main{
width:100%;
width :auto;
margin_left:0;
margin_right:0:
padding:0;
float:left;
}Forum: Networking WordPress
In reply to: Multisite setip wizardHI bro
There are a couple ways to accomplish this. A simple (but very clunky) way is to password protect the Product page and then provide the password to the user via the confirmation message of the form. This is a less than ideal user experience…
An alternate solution is to set a cookie when the form is submitted
Set Cookie on Form Submissionadd_action( ‘gform_pre_submission’, ‘set_form_submitted_cookie’ );
function set_form_submitted_cookie( $form ) {
setcookie( ‘gf_form_submitted’, $form[‘id’], null, ‘/’ );
}Check if Cookie Exists
add_filter( ‘the_content’, ‘maybe_hide_the_content’ );
function maybe_hide_the_content( $content ) {if( ! isset( $_COOKIE[‘gf_form_submitted’] ) ) {
$content = ‘You do not have access to this page.’
}return $content;
}Forum: Networking WordPress
In reply to: Multisite setip wizardHi if you have subdomains or sub-directories and user failled to be registered in the subdomain for multimeter you can have .
http://site1.example.com
http://example.com/site1/If you choose subdomains, then you will have to configure wildcard subdomains on your server (we will show you how to do that later in this article).
On the other hand, if you choose sub-directories or path based URLs for subsites on your network, then the only thing you need to do is enable pretty permalinks on your root site.
Forum: Themes and Templates
In reply to: Who to increase mobile logo size on responsive theme ?Hi
When you use !important after css, it forces that css to take effect above all else. So when you added that to your header height, it forces the header to stay the same size even when scrolling down.Just adding a larger logo means you shouldn’t have to use any css to adjust the logo at all as the header should resize automatically. So all you really need is the:
.fixed_header #main {
padding-top: 120px;
}from the other site you see the same effect on, you can look at the css they used here: http://50.116.98.244/~service/wp-content/uploads/dynamic_avia/casa_blanca.css?ver=1
Forum: Themes and Templates
In reply to: [SKT Girlie Lite] Expanding page content widthFirst off, you’ll want to find the width of the entire layout, so you need to identify that container. On the layout I am currently using, that container has an ID of wrapper – which is a pretty common name and might very well be what your theme uses as well.
Using Firebug, I am able to determine that the width of my wrapper element is 960 pixels, so I want to make my content area fill that space.
The next thing I’m going to do is identify the width of my content column. In my current layout that is contained within an element called content (also a common practice). The current width is 550pixels, so I need to increase that to 960.
Something to keep in mind here is that my current layout doesn’t require any margins, padding, or borders on it’s content area. Your theme could be different, and if so you need to factor in those values.
Remember, if you select your content element in the left hand column of Firebug, you’ll be able to see the padding (purple) and margins (yellow) highlighted on the page.
If your content area has padding/margins, you need to know what they are, and subtract the total value (the sum of both sides!) from your final width.
Here’s an example for you. We already know my wrapper area is 960 pixels across, and my content is 550 pixels. If my content had a 10 pixel margin on each side, I’d want to change my width to 940 pixels (960-10(left)-10(right) ).
If parts of that still don’t make sense, I’d definitely recommend reading a little about the CSS Box Model – that will help clarify what you need to allow space for and how margins and padding work.
Forum: Themes and Templates
In reply to: Remove background imagethese codes will help you to fix your background image by specifying the location of the image so it will depend if you are using css
The complete code for setting the background image as fixed for this tutorial is:body {
background-attachment: fixed;
background-color: #ecebe9;
background-image: url(“http://127.0.0.1/Demo/wp-content/uploads/2016/03/background-image.jpg”); or if it does not work you can try with this
body {
background: url(“http://127.0.0.1/Demo/wp-content/uploads/2016/03/background-image.jpg”);
}
background-position: 20% 20%;
}
Forum: Reviews
In reply to: [Social Share Icons & Social Share Buttons] Perfect pluginsome of the best social media
Monarch — Part of Elegant Themes Membership
Easy Social Share Buttons for WordPress
Simple Share Buttons Adder
Social Sharing by Danny
these are some of the social mediaForum: Fixing WordPress
In reply to: Stop sending mailsthanks for your suggestion!
it is my understanding these emails come from the native wordpress system, or the buddypress / bbpress add-ons to it.
We do not use any specific plugin’s for this purpose of notifications (thus the list of the configuration above).
This issue started immediately after the wordpress v4.6 upgrade, so it would seem logical it is connected to it?
Else I would not have posted it here, I am sure the core developers have their hands full.
Forum: Fixing WordPress
In reply to: How to manage millions table of multi sites in wordpressthere You no longer need to manually add new users to each of your sites.
With this plugin, users are assigned a default role for each of your sites. You set the default role for each site and this plugin applies it.
You can assign different roles for each site or keep a site private by assigning no role