Forum Replies Created
list of topics you have created till now.
-
-
Matheus Britto
Participant20 January 2016 at 23:38Posted in : Display only the last post in a new pageHi Serkan,
In Settings –> Read, I set the blog page to posts and start page to home. I want to show only the last post in my “home” page (instead photowall), but still wanna have my posts in posts menu.
It’s possible to do that or need to install some plugin?
Thanks.
Hi Cristian,
It’s very simple to do that. Just follow this instructions and you have your map.
1. Go to Google Maps and find the address you want.
2. In Configurations (a gear in the botton of the page), choose Share or embed map.
3. Go to Embed map and you’ll see the code to put in your page. Just copy and paste it.
4. Done!You can still use one of the default sizes of the maps (small, medium or large) or make a new one with the size you want (custom size). ;-)
Hugs.
In time: if you want to have “Get Directions” in your map, the smaller height you can use is 300px.
Thanks man.
In time, I made a few modification and now have 4 sizes (very good for date and phone number).
.column-full, .column-half {
float: left;
position: relative;
padding: 0.65rem;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
.column-third {
float: left;
position: relative;
padding: 0.65rem;
width: 75%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
.column-quarter {
float: left;
position: relative;
padding: 0.65rem;
width: 25%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}You can see a screen capture here: http://www.aimagem.net.br/screen.png
You can create the form easier, this way:
div id=”responsive-form” class=”clearfix”>
div class=”form-row”>
div class=”column-half”>Seu nome (obrigatório) [text* FirstName] /div>
div class=”column-half”>Seu sobrenome (obrigatório) [text* LastName] /div>
div class=”column-half”>Nome da empresa (obrigatório) [text* Company] /div>
div class=”column-half”>Site da empresa [url Site] /div>
div class=”column-half”>Telefone para contato (obrigatório) [tel* Phone] /div>
div class=”column-half”>Seu e-mail (obrigatório) [email* Mail] /div>
div class=”column-half”>Local do evento [text Place] /div>
div class=”column-half”>Data do evento [date Date] /div>
div class=”column-full”>Descrição do serviço (obrigatório) [textarea* Message] /div>
div class=”column-full”>[submit “Enviar”] /div>
/div>
/div>Hi,
It’s just a question… and I don’t wanna my visitors seeing the entire address with ?page=192 or something like that, just the mais site address. ;-)
Ahmetsali,
Now I see that I not make myself clear enough in my question. What I need is chance the “hover” color (heavy dark gray) in the “share this post”.
The first question worked fine here. Thanks man.
BTW, where/how can I change the font size for the previous/nest post (question 1) and the space between this and share this post?
Matheus Britto
Participant6 February 2015 at 18:28Posted in : Disable Right Click Portfolio GalleryYou can use this script. Works for me. ;-)
var message = “Sorry!”;
function clickIE() {
if (document.all) {
(message);
return false;
}
}
function clickNS(e) {
if (document.layers || (document.getElementById && !document.all)) {
if (e.which === 2 || e.which === 3) {
(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = clickNS;
} else {
document.onmouseup = clickNS;
document.oncontextmenu = clickIE;
}
document.oncontextmenu = new Function(“return false”);
Matheus Britto
Participant5 February 2015 at 05:59Posted in : Translate "read more" and "share this post"Sali,
I try to do exactly what you say but after installation, WP says this plugin isn’t compatible with the latest version of WP (4.1). Now what?
Thanks.