Domino_ukraine
Forum Replies Created
-
Forum: Hacks
In reply to: How to trim postWell, somehow (i’m not play with this – just for instance):
preg_replace (‘/(( \ w + \ W *) {199} (\ w +))(.*)/’, ‘$ {1} ‘, $ post-> post_content);199 – number of words (start from 0)
Forum: Plugins
In reply to: change font colour in dropdown menuwp-content/themes/master/style.css – row 179:
#sidebar a {
color: #8A0; !!!!!! change this to your color !!!!!
text-decoration: none;
}Forum: Plugins
In reply to: Easy Fancy Box size setting issueI did: the embed code fancybox immediately prior to use and prescribe the right size for each id.
<p> <@ href=”video1.html”> Bla-bla </@> </ p>
<p> <@ href=”video2.html”> Bla-Bla </@> </ p>And above wrote:
$ (“. various2”). fancybox ({
‘width’: 670,
‘height’: 530,
‘autoScale’: false,
‘transitionIn’: ‘none’,
‘transitionOut’: ‘none’,
‘type’: ‘iframe’
});
$ (“. various3”). fancybox ({
‘width’: 360,
‘height’: 300,
‘autoScale’: false,
‘transitionIn’: ‘none’,
‘transitionOut’: ‘none’,
‘type’: ‘iframe’
});
Sorry, the link does not point out – I got a warning for them ??Forum: Requests and Feedback
In reply to: Specific shortcode for every postUnderstood. I just did this so that people understand that it really works. Note taken. Sorry ??
Forum: Requests and Feedback
In reply to: Specific shortcode for every postYou can do it yourself ??
I made this one of the sites as follows: in the page template has prescribed a short code, like
<? if (page_id = 'xxx'){...}?>
The idea is this: after reading the page id to perform the desired piece of code – is prescribed to handle in the template file (I wrote in single.php, I think).
Be of good cheer. Good luck ??
Forum: Requests and Feedback
In reply to: [Plugin: Jetpack] site statistic e-mail reportI can offer the same idea that made the site [removed]: create and send a report handles when a certain time.
I did: generate reports and recorded it directly into the database. There also put in a variable-key, which takes the values ??0 or 1 – Today I sent a report or not.
Next – is simple: to index page inserts code that checks the current time (for example, now more than 18.00 “) and a key value – if key = 0, then today was not sent. Runs the mail and write the key value of 1. All at midnight conversion keys to 0. Maybe not quite nice, but it works! ??
Forum: Themes and Templates
In reply to: Remove slide show header from my gallery pagesThe question is not very complicated, if you give a link to the site and a piece of code header – just words hard to explain. Easier to just show the code.
Forum: Themes and Templates
In reply to: Dual language sitereate a page template, which is embedded in the google translator. And to create two pages for each language: a simple template, and with a translator. Will be hard, if the site is too a huge – for mogih pages specify the new template will …