dados
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart Slider 3] animated slider itemohhh.. okay.. thanks
Forum: Plugins
In reply to: [WPMovieLibrary] Allow Editor to edit custom posts movieHi Charlie.. yes its works now for editors also.. tnx …
Only I have now issues with Taxonomies and Categories .. I checked “Allow movies to use regular WordPress Categories.” https://prntscr.com/b2f2sp .. and now on category and home page for some posts is not showing Category name.. this happen for both plugin version.. from git and from www.remarpro.com..
I think issues is in update 2.1.4.3 “Dev – Term ordering updated to match the modifications brought by WordPress 4.4” and conflict file is includes/classes/class-wpmoly-utils.php
I use in Query this code to get Category name
$categories = get_the_category(); $cat_name = esc_html( $categories[0]->name ); $cat_slug = esc_html( $categories[0]->slug ); $cat_link = esc_url( get_category_link( $categories[0]->term_id ) );
Forum: Plugins
In reply to: [WPMovieLibrary] Allow Editor to edit custom posts movieokay.. great .. tnx ?? will test it
Forum: Fixing WordPress
In reply to: wordpress permalink with specific meta value and custom postForum: Fixing WordPress
In reply to: "cache_suffix" tinymce issuesI found one solution but I am not sure is this correct option to get this issues work…
function my_format_TinyMCE( $in ) { $in['cache_suffix'] = 'ver=wp-mce-1.0'; return $in; } add_filter( 'tiny_mce_before_init', 'my_format_TinyMCE' );
Forum: Plugins
In reply to: [WPMovieLibrary] Remove Headbox from the_content() on single.phpOkay.. I get replay fro Supprt .. here is how this need to be done.. First disable Headbox under Appearance ? Headbox, the single movie should then fallback to the old metadata display, which can be disabled in the settings panel under General ? Metadata ? Show Metadata ? select ? Don’t show ?
Forum: Themes and Templates
In reply to: Page template with all categoriesBut you did everything correct.. only one issues you have ?? after
<?php $category_link = sprintf( '<a href="%1$s">%3$s</a>'
you need to add comma.. so you will need to have this
<?php $category_link = sprintf( '<a href="%1$s">%3$s</a>',
and because you have url, alt and name, this will be correct one
<?php $category_link = sprintf( '<a href="%1$s" alt="%2$s">%3$s</a>',
Forum: Plugins
In reply to: [WPMovieLibrary] Duplicate Admin menuright now I done it with this code
function wpmoly_menu_page_removing() { remove_menu_page('edit.php?post_type=movie'); } add_action( 'admin_menu', 'wpmoly_menu_page_removing' );
Forum: Plugins
In reply to: [Polylang] flags in drop downOkay.. I do not want to use some big scripts or something so I did this.. I will write here if somebody else need it..
1.) I create sidebar in my theme, and add it to header
<div class="drop-dl"> <a class="lang-chose" href="#"><img src=""> Chose language</a> <?php get_sidebar(); ?> </div>
2.) Then I go to admin page and on widget section I add Language Switcher to Sidebar to get Unsorted Lists from languages
3.) and I add small script and css code to get this work, here is CodePen demo link
Any suggestion is welcome ?? Because this solution work with “Polylang widget”, the good part is that you have addition options and functionality to chose from widget “Language Switcher” https://prntscr.com/9t4xdt
Forum: Plugins
In reply to: [Polylang] flags in drop downOkay.. tanks.. I think this can work.. so first will create menu list and add this script, only problem what I can see is that selected language its not stay selected on page redirect.. so when you change language to Arabic site translate work but selected language in bar is still English.. this is not good ??
Forum: Plugins
In reply to: [Polylang] Synchronize Theme options with String TranslationOhh.. Okay.. Something I have now realized .. when I save theme options, on fronted its showing new string from translate field https://prntscr.com/9skhkk .. So its okay ?? .. this work.. ohhh how much posts and actually this works ?? I thought field in theme options also should be updated ?? .. sorry for all time you lost on me
Forum: Plugins
In reply to: [Polylang] Synchronize Theme options with String Translationokay.. here it is..
I wrote “Title test” in theme option https://prntscr.com/9skgve and then its show up here https://prntscr.com/9skh7y .. but when I change it https://prntscr.com/9skhkk Theme options string not updated https://prntscr.com/9skhsa .. Instead “Title test sssss” I still have “Title test” .. on fronted its work okay, title is changed.
But I’m afraid when client want to change something in theme option, what will happen if click on save “Theme Option” because old string is remained..
Forum: Plugins
In reply to: [Polylang] Synchronize Theme options with String Translationjust to explain I change this $shortname = “theme”; to $shortname = “swt”; so now instead theme_cta_title I have swt_cta_title
Forum: Plugins
In reply to: [Polylang] Synchronize Theme options with String Translationthis is I get https://prntscr.com/9sjiri and when I open to edit https://prntscr.com/9sjiwz
Forum: Plugins
In reply to: [Polylang] Synchronize Theme options with String TranslationIts custom code theme ?? … Is it possible that I do not have <key name=”my_theme_options”> .. or how I can add it